From 6b7a4ba448c015997460f9e59f98e7137eaf88a0 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Sat, 24 Feb 2007 23:36:40 +0000 Subject: (svn r8891) -Codechange: Remove remains of global cargo scheme. All cargo mapping is now dealt with only in NewGRF code, on load where possible. --- src/newgrf_station.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/newgrf_station.h') 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; /** -- cgit v1.2.3-70-g09d2