From f4792f29cb1fc948584cd4c3c818ed8d5ae65473 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 23 Sep 2007 11:05:11 +0000 Subject: [PATCH] (svn r11150) -Fix [FS#1202]: NewGRF action 3 does not necessarily need an action 1 to be defined. Patch by frosch. --- src/newgrf.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/newgrf.cpp b/src/newgrf.cpp index b4db6d7720..d59d35c642 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; }