mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r11150) -Fix [FS#1202]: NewGRF action 3 does not necessarily need an action 1 to be defined. Patch by frosch.
This commit is contained in:
parent
df03734674
commit
f4792f29cb
@ -3056,8 +3056,8 @@ static void FeatureMapSpriteGroup(byte *buf, int len)
|
||||
grfmsg(6, "FeatureMapSpriteGroup: Feature %d, %d ids, %d cids, wagon override %d",
|
||||
feature, idcount, cidcount, wagover);
|
||||
|
||||
if (_cur_grffile->spriteset_start == 0 || _cur_grffile->spritegroups == 0) {
|
||||
grfmsg(1, "FeatureMapSpriteGroup: No sprite set to work on! Skipping");
|
||||
if (_cur_grffile->spritegroups == 0) {
|
||||
grfmsg(1, "FeatureMapSpriteGroup: No sprite groups to work on! Skipping");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user