(svn r2063) Fix: the 0x40 deterministic spritegroup for vehicles was wrong, modified to match the wiki again. (The wiki was partially wrong, too! ;) (Patch by HackyKid.)
authorpasky
Fri, 25 Mar 2005 15:31:01 +0000
changeset 1559 c0d5d35b25db
parent 1558 62eeea72497d
child 1560 d040e4763f45
(svn r2063) Fix: the 0x40 deterministic spritegroup for vehicles was wrong, modified to match the wiki again. (The wiki was partially wrong, too! ;) (Patch by HackyKid.)
engine.c
--- a/engine.c	Fri Mar 25 15:30:51 2005 +0000
+++ b/engine.c	Fri Mar 25 15:31:01 2005 +0000
@@ -334,8 +334,8 @@
 							chain_after++;
 						};
 
-						value = chain_before << 16 | chain_after << 8
-						        | (chain_before + chain_after + 1);
+						value = chain_before | chain_after << 8
+						        | (chain_before + chain_after) << 16;
 					} else {
 						value = 1; /* 1 vehicle in the chain */
 					}