(svn r3486) - NewGRF fix: Always reinitialize the ttdpatch flags as patch settings may have changed.
authorpeter1138
Mon, 30 Jan 2006 14:50:55 +0000
changeset 2930 99088d4aba31
parent 2929 b91e62748919
child 2931 d832ee22696d
(svn r3486) - NewGRF fix: Always reinitialize the ttdpatch flags as patch settings may have changed.
newgrf.c
--- a/newgrf.c	Mon Jan 30 14:03:34 2006 +0000
+++ b/newgrf.c	Mon Jan 30 14:50:55 2006 +0000
@@ -2710,13 +2710,9 @@
 
 void LoadNewGRF(uint load_index, uint file_index)
 {
-	static bool initialized = false; // XXX yikes
 	uint stage;
 
-	if (!initialized) {
-		InitializeGRFSpecial();
-		initialized = true;
-	}
+	InitializeGRFSpecial();
 
 	ResetNewGRFData();