summaryrefslogtreecommitdiff
path: root/src/misc.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-07-29 22:23:17 +0000
committerfrosch <frosch@openttd.org>2011-07-29 22:23:17 +0000
commitc9e920f1ebbeffb44ea44a240ad93ea246b14d7f (patch)
tree2d22f1ebdf356ee4284667d22d1416527cd7084b /src/misc.cpp
parent793ec45a7370a9e066968b24489f1d20ee5dd330 (diff)
downloadopenttd-c9e920f1ebbeffb44ea44a240ad93ea246b14d7f.tar.xz
(svn r22693) -Fix [FS#4691]: The override managers were not reset in some cases like creating a new scenario.
Diffstat (limited to 'src/misc.cpp')
-rw-r--r--src/misc.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/misc.cpp b/src/misc.cpp
index 09ace072d..93908cffc 100644
--- a/src/misc.cpp
+++ b/src/misc.cpp
@@ -14,6 +14,7 @@
#include "news_func.h"
#include "ai/ai.hpp"
#include "ai/ai_gui.hpp"
+#include "newgrf.h"
#include "newgrf_house.h"
#include "group.h"
#include "economy_func.h"
@@ -70,6 +71,8 @@ void InitializeGame(uint size_x, uint size_y, bool reset_date, bool reset_settin
PoolBase::Clean(PT_NORMAL);
+ ResetPersistentNewGRFData();
+
InitializeSound();
InitializeMusic();