diff options
author | pasky <pasky@openttd.org> | 2005-03-25 15:31:01 +0000 |
---|---|---|
committer | pasky <pasky@openttd.org> | 2005-03-25 15:31:01 +0000 |
commit | 7fceb7ea86f8e0de40abc18cf94aee3917b7696d (patch) | |
tree | 90ba95cc74f5a94d6e9fd71f4ac0e73857eb722f | |
parent | 44f370291974b600885c708506d560c9069cf14d (diff) | |
download | openttd-7fceb7ea86f8e0de40abc18cf94aee3917b7696d.tar.xz |
(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.)
-rw-r--r-- | engine.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -334,8 +334,8 @@ static RealSpriteGroup* ResolveVehicleSpriteGroup(SpriteGroup *spritegroup, 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 */ } |