diff options
author | frosch <frosch@openttd.org> | 2011-06-23 08:25:15 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-06-23 08:25:15 +0000 |
commit | d0294bbd6664cc1c14e644bf89c8dd99c5abcf67 (patch) | |
tree | f21cddaae153f981128bc0b260eebe40c83afcf9 | |
parent | def77ce2f450c90d8088cc4788035df200a8759c (diff) | |
download | openttd-d0294bbd6664cc1c14e644bf89c8dd99c5abcf67.tar.xz |
(svn r22606) -Fix (r22518): 20 is not the successor of 19 in NewGRF context.
-rw-r--r-- | src/newgrf.cpp | 2 |
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]; |