summaryrefslogtreecommitdiff
path: root/newgrf.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-08-14 18:10:18 +0000
committertron <tron@openttd.org>2005-08-14 18:10:18 +0000
commit19f5036c468e125393f6e8dd23c53436512424c6 (patch)
tree4ffc4a0a48b8c38e767e4f8bf67bb8d49d86101e /newgrf.c
parent26d24f64fc78d15464e35aa56c7788dcf70eba39 (diff)
downloadopenttd-19f5036c468e125393f6e8dd23c53436512424c6.tar.xz
(svn r2866) Move all functions and tables which aren't directly involved in managing the sprite heap to a new file gfxinit.c.
This doesn't ease the global variable mess, but makes the distinction between sprite heap and gfx loading routines easier.
Diffstat (limited to 'newgrf.c')
-rw-r--r--newgrf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newgrf.c b/newgrf.c
index 58483c167..e6efb6bae 100644
--- a/newgrf.c
+++ b/newgrf.c
@@ -30,7 +30,7 @@ extern int _replace_sprites_count[16];
extern int _replace_sprites_offset[16];
extern int _traininfo_vehicle_pitch;
-GRFFile *_cur_grffile;
+static GRFFile *_cur_grffile;
GRFFile *_first_grffile;
int _grffile_count;
static int _cur_spriteid;