summaryrefslogtreecommitdiff
path: root/newgrf.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-05-20 08:12:59 +0000
committerpeter1138 <peter1138@openttd.org>2006-05-20 08:12:59 +0000
commitd955b49e1b35a154c2c79ee477c6aa61ae2f7c16 (patch)
tree0683779b8407d59054828d210895f34817ce93bd /newgrf.c
parenta5f6677b2000d845f5be1d70064ff0244673e0f7 (diff)
downloadopenttd-d955b49e1b35a154c2c79ee477c6aa61ae2f7c16.tar.xz
(svn r4917) - NewGRF: remove _custom_sprites_base, now used only to rejig vehicle images from ttd games, as we redetermine all vehicle images after game load anyway.
Diffstat (limited to 'newgrf.c')
-rw-r--r--newgrf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/newgrf.c b/newgrf.c
index c141b7342..e6d9ca3d4 100644
--- a/newgrf.c
+++ b/newgrf.c
@@ -36,7 +36,6 @@
* served as subject to the initial testing of this codec. */
-uint16 _custom_sprites_base;
static int _skip_sprites; // XXX
static uint _file_index; // XXX
SpriteID _signal_base = 0;
@@ -2902,7 +2901,6 @@ void LoadNewGRF(uint load_index, uint file_index)
/* Load newgrf sprites
* in each loading stage, (try to) open each file specified in the config
* and load information from it. */
- _custom_sprites_base = load_index;
for (stage = 0; stage <= 2; stage++) {
uint slot = file_index;
GRFConfig *c;