diff options
author | rubidium <rubidium@openttd.org> | 2007-09-22 12:59:43 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-09-22 12:59:43 +0000 |
commit | c68c83dffa2edbf854935effedeac0c4697d5db7 (patch) | |
tree | abf69599a75ef23c1a5e3ed954a9d8866fe64a27 /src/openttd.cpp | |
parent | 47dd4989a8dabe485d87743468b3eddb18e19bb6 (diff) | |
download | openttd-c68c83dffa2edbf854935effedeac0c4697d5db7.tar.xz |
(svn r11138) -Codechange: prepare some subsystems for persistent storage for NewGRFs.
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r-- | src/openttd.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp index bed5dbdb0..4098c7547 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -61,6 +61,7 @@ #include "newgrf_config.h" #include "newgrf_house.h" #include "newgrf_commons.h" +#include "newgrf_storage.h" #include "player_face.h" #include "group.h" #include "blitter/factory.hpp" @@ -977,6 +978,8 @@ void SwitchMode(int new_mode) * That check is enforced in DoCommand. */ void StateGameLoop() { + ClearStorageChanges(false); + /* dont execute the state loop during pause */ if (_pause_game) return; if (IsGeneratingWorld()) return; |