(svn r22512) -Add: Save heightmap.

This commit is contained in:
alberth
2011-05-28 13:55:34 +00:00
parent 4b295664ad
commit cae2d84af3
5 changed files with 20 additions and 14 deletions

View File

@@ -270,8 +270,8 @@ void VideoDriver_Dedicated::MainLoop()
_network_dedicated = true;
_current_company = _local_company = COMPANY_SPECTATOR;
/* If SwitchMode is SM_LOAD, it means that the user used the '-g' options */
if (_switch_mode != SM_LOAD) {
/* If SwitchMode is SM_LOAD_GAME, it means that the user used the '-g' options */
if (_switch_mode != SM_LOAD_GAME) {
StartNewGameWithoutGUI(GENERATE_NEW_SEED);
SwitchToMode(_switch_mode);
_switch_mode = SM_NONE;
@@ -285,7 +285,7 @@ void VideoDriver_Dedicated::MainLoop()
_networking = false;
} else {
/* We can load this game, so go ahead */
SwitchToMode(SM_LOAD);
SwitchToMode(SM_LOAD_GAME);
}
}