From 4bc7df663caf3d06a6451e761905dd88da7e1ae4 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Mon, 30 Jan 2006 14:50:55 +0000 Subject: [PATCH] (svn r3486) - NewGRF fix: Always reinitialize the ttdpatch flags as patch settings may have changed. --- newgrf.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/newgrf.c b/newgrf.c index 0adf1af720..ae6de3d260 100644 --- a/newgrf.c +++ b/newgrf.c @@ -2710,13 +2710,9 @@ static void LoadNewGRFFile(const char* filename, uint file_index, uint stage) void LoadNewGRF(uint load_index, uint file_index) { - static bool initialized = false; // XXX yikes uint stage; - if (!initialized) { - InitializeGRFSpecial(); - initialized = true; - } + InitializeGRFSpecial(); ResetNewGRFData();