summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r--src/openttd.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index 25387f41c..e4f85a302 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -59,6 +59,7 @@
#include "rail_gui.h"
#include "core/backup_type.hpp"
#include "hotkeys.h"
+#include "newgrf.h"
#include "town.h"
@@ -347,6 +348,8 @@ static void ShutdownGame()
free(_config_file);
#endif
+ ResetNewGRFData();
+
/* Close all and any open filehandles */
FioCloseAll();
}