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
commit0d5b0eb4f7cba920fef7713c61bbcb08e4d817ee (patch)
tree7f830c7e076ed24e6451741eeda60d2386f68dd7
parent9bfd73889aeffed11e56d7d95ec36a7521b46a98 (diff)
downloadopenttd-0d5b0eb4f7cba920fef7713c61bbcb08e4d817ee.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();