diff options
author | Darkvater <darkvater@openttd.org> | 2006-08-31 15:57:38 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-08-31 15:57:38 +0000 |
commit | fd09bd15b239c90b1b3e3ac951a0cfbb75f9f79f (patch) | |
tree | 664b0f8df7289d3dd2ad459cf9e79739afc4026d /train_gui.c | |
parent | d2c239b590290840ed5093ddc486a10e4003199b (diff) | |
download | openttd-fd09bd15b239c90b1b3e3ac951a0cfbb75f9f79f.tar.xz |
(svn r6280) -Codechange: Use the same naming for trains as for other vehicles:
CMD_SEND_TRAIN_TO_DEPOT instead of CMD_TRAIN_GOTO_DEPOT
Diffstat (limited to 'train_gui.c')
-rw-r--r-- | train_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/train_gui.c b/train_gui.c index f724c028a..e7868575f 100644 --- a/train_gui.c +++ b/train_gui.c @@ -1025,7 +1025,7 @@ static void TrainViewWndProc(Window *w, WindowEvent *e) break; case 7: /* goto depot */ /* TrainGotoDepot has a nice randomizer in the pathfinder, which causes desyncs... */ - DoCommandP(v->tile, v->index, _ctrl_pressed ? 1 : 0, NULL, CMD_TRAIN_GOTO_DEPOT | CMD_NO_TEST_IF_IN_NETWORK | CMD_MSG(STR_8830_CAN_T_SEND_TRAIN_TO_DEPOT)); + DoCommandP(v->tile, v->index, _ctrl_pressed ? 1 : 0, NULL, CMD_SEND_TRAIN_TO_DEPOT | CMD_NO_TEST_IF_IN_NETWORK | CMD_MSG(STR_8830_CAN_T_SEND_TRAIN_TO_DEPOT)); break; case 8: /* force proceed */ DoCommandP(v->tile, v->index, 0, NULL, CMD_FORCE_TRAIN_PROCEED | CMD_MSG(STR_8862_CAN_T_MAKE_TRAIN_PASS_SIGNAL)); |