From 4fefb1f03c77288ff55c165369e25dd3f0b135f9 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Sat, 2 Dec 2006 09:52:34 +0000 Subject: (svn r7324) -Codechange: reset newgrf signal location data --- newgrf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/newgrf.c b/newgrf.c index 9846a0ba1..3ae0d2e4b 100644 --- a/newgrf.c +++ b/newgrf.c @@ -42,7 +42,7 @@ static int _skip_sprites; // XXX static uint _file_index; // XXX -SpriteID _signal_base = 0; +SpriteID _signal_base; static GRFFile *_cur_grffile; GRFFile *_first_grffile; @@ -3325,6 +3325,7 @@ static void ResetNewGRFData(void) _traininfo_vehicle_pitch = 0; _traininfo_vehicle_width = 29; _have_2cc = false; + _signal_base = 0; InitializeSoundPool(); InitializeSpriteGroupPool(); -- cgit v1.2.3-70-g09d2