(svn r11150) -Fix [FS#1202]: NewGRF action 3 does not necessarily need an action 1 to be defined. Patch by frosch.
authorrubidium
Sun, 23 Sep 2007 11:05:11 +0000
changeset 8116 1e04799d8544
parent 8115 95deea94d1f5
child 8117 6f265223b5fa
(svn r11150) -Fix [FS#1202]: NewGRF action 3 does not necessarily need an action 1 to be defined. Patch by frosch.
src/newgrf.cpp
--- a/src/newgrf.cpp	Sun Sep 23 10:54:11 2007 +0000
+++ b/src/newgrf.cpp	Sun Sep 23 11:05:11 2007 +0000
@@ -3056,8 +3056,8 @@
 	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;
 	}