summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-06-23 08:25:15 +0000
committerfrosch <frosch@openttd.org>2011-06-23 08:25:15 +0000
commitd0294bbd6664cc1c14e644bf89c8dd99c5abcf67 (patch)
treef21cddaae153f981128bc0b260eebe40c83afcf9 /src
parentdef77ce2f450c90d8088cc4788035df200a8759c (diff)
downloadopenttd-d0294bbd6664cc1c14e644bf89c8dd99c5abcf67.tar.xz
(svn r22606) -Fix (r22518): 20 is not the successor of 19 in NewGRF context.
Diffstat (limited to 'src')
-rw-r--r--src/newgrf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index a2ff7a5a1..78d91cd4a 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -1572,7 +1572,7 @@ static ChangeInfoResult StationChangeInfo(uint stid, int numinfo, int prop, Byte
statspec->animation.triggers = buf->ReadWord();
break;
- case 0x20: // Advanced sprite layout
+ case 0x1A: // Advanced sprite layout
statspec->tiles = buf->ReadExtendedByte();
delete[] statspec->renderdata; // delete earlier loaded stuff
statspec->renderdata = new NewGRFSpriteLayout[statspec->tiles];