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 | eb4233e8e9e1e6f4b9ce4eb3a7182b1282985f26 (patch) | |
tree | d790be3fa8129c0c0146ef2a1e78c42a8d13bbf2 /dedicated.c | |
parent | 562a32c3ee7b1c3ebf87968bd57163dada00d941 (diff) | |
download | openttd-eb4233e8e9e1e6f4b9ce4eb3a7182b1282985f26.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 'dedicated.c')
-rw-r--r-- | dedicated.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dedicated.c b/dedicated.c index c2ee4f511..2ce1a7fa4 100644 --- a/dedicated.c +++ b/dedicated.c @@ -265,7 +265,7 @@ static int DedicatedVideoMainLoop(void) /* If SwitchMode is SM_LOAD, it means that the user used the '-g' options */ if (_switch_mode != SM_LOAD) { _switch_mode = SM_NONE; - DoCommandP(0, Random(), InteractiveRandom(), NULL, CMD_GEN_RANDOM_NEW_GAME); + GenRandomNewGame(Random(), InteractiveRandom()); } else { _switch_mode = SM_NONE; /* First we need to test if the savegame can be loaded, else we will end up playing the |