diff options
author | Darkvater <darkvater@openttd.org> | 2005-05-12 00:18:30 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2005-05-12 00:18:30 +0000 |
commit | c626555f6848d71ead5b64ddbfddd483a29b1b7f (patch) | |
tree | d790be3fa8129c0c0146ef2a1e78c42a8d13bbf2 /console_cmds.c | |
parent | 921cc4e94a7703816ff63e4f673eaa9d8a7da4ca (diff) | |
download | openttd-c626555f6848d71ead5b64ddbfddd483a29b1b7f.tar.xz |
(svn r2298) - CodeChange: removed CmdAbuses: CmdSetTownNameType(), CmdStartNewGame(), CmdCreateScenario(), CmdSetNewLandscapeType() and CmdGenRandomNewGame().
- CodeChange: renamed CmdTrainGotoDepot() to CmdSendTrainToDepot() to be consistent with other depot commands.
- CodeChange: 'newgame' console command now calls the unabused GenRandomNewGame(). For the server it still creates a new game, a client quits the game and continues in SP.
- CodeChange: in the game-difficulty window, setup the disabled buttons on window creation, not every redraw.
Diffstat (limited to 'console_cmds.c')
-rw-r--r-- | console_cmds.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/console_cmds.c b/console_cmds.c index e5f182279..9cf286a4f 100644 --- a/console_cmds.c +++ b/console_cmds.c @@ -712,15 +712,11 @@ DEF_CONSOLE_CMD(ConNewGame) { if (argc == 0) { IConsoleHelp("Start a new game. Usage: 'newgame'"); + IConsoleHelp("The server can force a new game using 'newgame', any client using it will part and start a single-player game"); return true; } - _docommand_recursive = 0; - - _random_seeds[0][0] = Random(); - _random_seeds[0][1] = InteractiveRandom(); - - SwitchMode(SM_NEWGAME); + GenRandomNewGame(Random(), InteractiveRandom()); return true; } |