src/newgrf_station.h
changeset 6474 24e7ceeb25f5
parent 5838 9c3129cb019b
child 6298 c30fe89622df
child 6573 7624f942237f
--- a/src/newgrf_station.h	Sat Feb 24 23:20:21 2007 +0000
+++ b/src/newgrf_station.h	Sat Feb 24 23:36:40 2007 +0000
@@ -79,11 +79,11 @@
 	bool copied_layouts;
 
 	/**
-	 * NUM_GLOBAL_CID sprite groups.
+	 * NUM_CARGO real cargo plus three pseudo cargo sprite groups.
 	 * Used for obtaining the sprite offset of custom sprites, and for
 	 * evaluating callbacks.
 	 */
-	const struct SpriteGroup *spritegroup[NUM_GLOBAL_CID];
+	const struct SpriteGroup *spritegroup[NUM_CARGO + 3];
 } StationSpec;
 
 /**