(svn r24050) -Fix: Realsprites inside the action 11 block were not skipped correctly.

This commit is contained in:
frosch 2012-03-19 22:38:54 +00:00
parent ad9d1ca639
commit ee03cda858

View File

@ -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;
}