diff options
author | rubidium <rubidium@openttd.org> | 2007-05-04 22:38:36 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-05-04 22:38:36 +0000 |
commit | b76cc8c96b6a43e56addb5d6fe32513e7e0ea96f (patch) | |
tree | bd897a4b2c317680e808a00a3c12f0f238b07377 /src/console_cmds.cpp | |
parent | e81906c62d0f706ec98e95b4ed9dd039009fe167 (diff) | |
download | openttd-b76cc8c96b6a43e56addb5d6fe32513e7e0ea96f.tar.xz |
(svn r9784) -Codechange: remove unused variable.
Diffstat (limited to 'src/console_cmds.cpp')
-rw-r--r-- | src/console_cmds.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp index 725f4fe93..5ab671150 100644 --- a/src/console_cmds.cpp +++ b/src/console_cmds.cpp @@ -142,8 +142,6 @@ DEF_CONSOLE_CMD(ConStopAllVehicles) FOR_ALL_VEHICLES(v) { /* Code ripped from CmdStartStopTrain. Can't call it, because of * ownership problems, so we'll duplicate some code, for now */ - if (v->type == VEH_TRAIN) - v->u.rail.days_since_order_progr = 0; v->vehstatus |= VS_STOPPED; InvalidateWindowWidget(WC_VEHICLE_VIEW, v->index, STATUS_BAR); InvalidateWindow(WC_VEHICLE_DEPOT, v->tile); |