From 19f5036c468e125393f6e8dd23c53436512424c6 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 14 Aug 2005 18:10:18 +0000 Subject: (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. --- newgrf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'newgrf.c') 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; -- cgit v1.2.3-54-g00ecf