Fix handing of sprites in action A which are rejected due to GRM misuse

This commit is contained in:
Jonathan G Rennison 2024-08-03 08:55:15 +01:00
parent 177b75af77
commit 3e1b0f76f4

View File

@ -8073,6 +8073,7 @@ static void SpriteReplace(ByteReader *buf)
i, num_sprites, first_sprite, SPR_OPENTTD_BASE); i, num_sprites, first_sprite, SPR_OPENTTD_BASE);
for (uint j = 0; j < num_sprites; j++) { for (uint j = 0; j < num_sprites; j++) {
_cur.nfo_line++;
LoadNextSprite(-1, *_cur.file, _cur.nfo_line); LoadNextSprite(-1, *_cur.file, _cur.nfo_line);
} }
return; return;