(svn r11138) -Codechange: prepare some subsystems for persistent storage for NewGRFs.

This commit is contained in:
rubidium
2007-09-22 12:59:43 +00:00
parent a0946e5d7e
commit ed96cd2711
9 changed files with 240 additions and 18 deletions

View File

@@ -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;