changeset 2930:a85949ba267e draft

(svn r3486) - NewGRF fix: Always reinitialize the ttdpatch flags as patch settings may have changed.
author peter1138 <peter1138@openttd.org>
date Mon, 30 Jan 2006 14:50:55 +0000
parents e29a0c68639c
children 9d5731650265
files newgrf.c
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/newgrf.c
+++ b/newgrf.c
@@ -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();