diff options
author | frosch <frosch@openttd.org> | 2012-03-19 22:38:54 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-03-19 22:38:54 +0000 |
commit | ee03cda8585fa36ae8f69feae564eef15fd04727 (patch) | |
tree | ee341197be50195d32281e74984fadcef800b00a | |
parent | ad9d1ca6395adc0b4cea3b61efefaefe09738aea (diff) | |
download | openttd-ee03cda8585fa36ae8f69feae564eef15fd04727.tar.xz |
(svn r24050) -Fix: Realsprites inside the action 11 block were not skipped correctly.
-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 a015fe5ad..c0f59b92e 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -6954,7 +6954,7 @@ static void GRFSound(ByteReader *buf) if (type != 0xFF) { grfmsg(1, "GRFSound: Unexpected RealSprite found, skipping"); FioSkipBytes(7); - SkipSpriteData(type, num - 8); + SkipSpriteData(type, len - 8); continue; } |