summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-12-02 09:52:34 +0000
committerpeter1138 <peter1138@openttd.org>2006-12-02 09:52:34 +0000
commit4fefb1f03c77288ff55c165369e25dd3f0b135f9 (patch)
tree7f830c7e076ed24e6451741eeda60d2386f68dd7
parent8e59299e72ae6e989f10fcc5226c2070abb44168 (diff)
downloadopenttd-4fefb1f03c77288ff55c165369e25dd3f0b135f9.tar.xz
(svn r7324) -Codechange: reset newgrf signal location data
-rw-r--r--newgrf.c3
1 files changed, 2 insertions, 1 deletions
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();