summaryrefslogtreecommitdiff
path: root/src/video/dedicated_v.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2011-05-28 13:55:34 +0000
committeralberth <alberth@openttd.org>2011-05-28 13:55:34 +0000
commitf1cae9960f37b853e1abc0c02b6c31590cc86cb1 (patch)
treec7cbb2f604cfafa592aa0c8b263d14d1d7f5da3a /src/video/dedicated_v.cpp
parent18382251923ac04007a59077f513184a3e66e5ec (diff)
downloadopenttd-f1cae9960f37b853e1abc0c02b6c31590cc86cb1.tar.xz
(svn r22512) -Add: Save heightmap.
Diffstat (limited to 'src/video/dedicated_v.cpp')
-rw-r--r--src/video/dedicated_v.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video/dedicated_v.cpp b/src/video/dedicated_v.cpp
index 10a1b92b6..d5f63d818 100644
--- a/src/video/dedicated_v.cpp
+++ b/src/video/dedicated_v.cpp
@@ -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);
}
}