diff options
author | rubidium <rubidium@openttd.org> | 2009-08-06 22:00:32 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-08-06 22:00:32 +0000 |
commit | ba4fd897b823fa4dc36ad3fbf0db36b94b95628b (patch) | |
tree | f68e0b5d1bb325182e763285855fca5dfd128856 /src/console_cmds.cpp | |
parent | 3ecf3357181c0f01896d97d0a7b40bf9206d7327 (diff) | |
download | openttd-ba4fd897b823fa4dc36ad3fbf0db36b94b95628b.tar.xz |
(svn r17097) -Fix [FS#3092] (r13256): make restart command work again and make the help show how it works and how it doesn't work
Diffstat (limited to 'src/console_cmds.cpp')
-rw-r--r-- | src/console_cmds.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp index 64070e7cf..dd4f96fac 100644 --- a/src/console_cmds.cpp +++ b/src/console_cmds.cpp @@ -952,13 +952,16 @@ DEF_CONSOLE_CMD(ConRestart) if (argc == 0) { IConsoleHelp("Restart game. Usage: 'restart'"); IConsoleHelp("Restarts a game. It tries to reproduce the exact same map as the game started with."); + IConsoleHelp("However:"); + IConsoleHelp(" * restarting games started in another version might create another map due to difference in map generation"); + IConsoleHelp(" * restarting games based on scenarios, loaded games or heightmaps will start a new game based on the settings stored in the scenario/savegame"); return true; } /* Don't copy the _newgame pointers to the real pointers, so call SwitchToMode directly */ _settings_game.game_creation.map_x = MapLogX(); _settings_game.game_creation.map_y = FindFirstBit(MapSizeY()); - SwitchToMode(SM_NEWGAME); + SwitchToMode(SM_RESTARTGAME); return true; } |