summaryrefslogtreecommitdiff
path: root/src/newgrf_station.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-02-24 23:36:40 +0000
committerpeter1138 <peter1138@openttd.org>2007-02-24 23:36:40 +0000
commit6b7a4ba448c015997460f9e59f98e7137eaf88a0 (patch)
tree368b3cf550c0fcbbf2c814f0896d36aa12a8e28d /src/newgrf_station.h
parentbc968d23f179b1c606989cb7d7ac32f0412db62d (diff)
downloadopenttd-6b7a4ba448c015997460f9e59f98e7137eaf88a0.tar.xz
(svn r8891) -Codechange: Remove remains of global cargo scheme. All cargo mapping is now dealt with only in NewGRF code, on load where possible.
Diffstat (limited to 'src/newgrf_station.h')
-rw-r--r--src/newgrf_station.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf_station.h b/src/newgrf_station.h
index f504bdd2b..785710762 100644
--- a/src/newgrf_station.h
+++ b/src/newgrf_station.h
@@ -79,11 +79,11 @@ typedef struct StationSpec {
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;
/**