From c626555f6848d71ead5b64ddbfddd483a29b1b7f Mon Sep 17 00:00:00 2001 From: Darkvater Date: Thu, 12 May 2005 00:18:30 +0000 Subject: (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. --- train_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'train_cmd.c') diff --git a/train_cmd.c b/train_cmd.c index 75552704f..255ede174 100644 --- a/train_cmd.c +++ b/train_cmd.c @@ -1433,7 +1433,7 @@ static TrainFindDepotData FindClosestTrainDepot(Vehicle *v) * @param p1 train to send to the depot * @param p2 unused */ -int32 CmdTrainGotoDepot(int x, int y, uint32 flags, uint32 p1, uint32 p2) +int32 CmdSendTrainToDepot(int x, int y, uint32 flags, uint32 p1, uint32 p2) { Vehicle *v; TrainFindDepotData tfdd; -- cgit v1.2.3-54-g00ecf