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 /train_cmd.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 'train_cmd.c')
-rw-r--r-- | train_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |