summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--newgrf.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/newgrf.c b/newgrf.c
index 0adf1af72..ae6de3d26 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();