summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-09-23 11:05:11 +0000
committerrubidium <rubidium@openttd.org>2007-09-23 11:05:11 +0000
commitf4792f29cb1fc948584cd4c3c818ed8d5ae65473 (patch)
treed9c2e8ad188f1dcb5aa19704cc5c0e72ff83a330
parentdf037346744ea57204017e296625fb04fb17a726 (diff)
downloadopenttd-f4792f29cb1fc948584cd4c3c818ed8d5ae65473.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.cpp4
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;
}