diff src/station_gui.cpp @ 6657:05dc53b3e64a draft

(svn r9888) -Codechange: [NewGRF] allow non-spec cargo action2s to work, and using the goods sprite if really nothing is returned.
author peter1138 <peter1138@openttd.org>
date Sun, 20 May 2007 09:17:42 +0000
parents 080aae477331
children a19700261804
line wrap: on
line diff
--- a/src/station_gui.cpp
+++ b/src/station_gui.cpp
@@ -686,7 +686,7 @@
 		sprite = cs->sprite;
 	}
 
-	if (sprite == 0) return;
+	if (sprite == 0) sprite = SPR_CARGO_GOODS;
 
 	do {
 		DrawSprite(sprite, PAL_NONE, x, y);