Mercurial > hg > openttd
changeset 17815:6d85d631872f draft
(svn r22606) -Fix (r22518): 20 is not the successor of 19 in NewGRF context.
author | frosch <frosch@openttd.org> |
---|---|
date | Thu, 23 Jun 2011 08:25:15 +0000 |
parents | 8ee7131d4177 |
children | ca3e9e3d4052 |
files | src/newgrf.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -1572,7 +1572,7 @@ 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];