diff options
author | rubidium <rubidium@openttd.org> | 2007-09-23 11:05:11 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-09-23 11:05:11 +0000 |
commit | 893842a8a39d1e0b0606598738ec564d65a033b5 (patch) | |
tree | d9c2e8ad188f1dcb5aa19704cc5c0e72ff83a330 | |
parent | 6a45faeeda0f51501ad96a4d596b19c72c622367 (diff) | |
download | openttd-893842a8a39d1e0b0606598738ec564d65a033b5.tar.xz |
(svn r11150) -Fix [FS#1202]: NewGRF action 3 does not necessarily need an action 1 to be defined. Patch by frosch.
-rw-r--r-- | src/newgrf.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp index b4db6d772..d59d35c64 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -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; } |