mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
Fix handing of sprites in action A which are rejected due to GRM misuse
This commit is contained in:
parent
177b75af77
commit
3e1b0f76f4
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user