summaryrefslogtreecommitdiff
path: root/src/console_cmds.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/console_cmds.cpp
parent18382251923ac04007a59077f513184a3e66e5ec (diff)
downloadopenttd-f1cae9960f37b853e1abc0c02b6c31590cc86cb1.tar.xz
(svn r22512) -Add: Save heightmap.
Diffstat (limited to 'src/console_cmds.cpp')
-rw-r--r--src/console_cmds.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp
index 895e0238d..33ec4784e 100644
--- a/src/console_cmds.cpp
+++ b/src/console_cmds.cpp
@@ -365,7 +365,7 @@ DEF_CONSOLE_CMD(ConLoad)
if (item != NULL) {
switch (item->type) {
case FIOS_TYPE_FILE: case FIOS_TYPE_OLDFILE: {
- _switch_mode = SM_LOAD;
+ _switch_mode = SM_LOAD_GAME;
SetFiosType(item->type);
strecpy(_file_to_saveload.name, FiosBrowseTo(item), lastof(_file_to_saveload.name));