summaryrefslogtreecommitdiff
path: root/src/order_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-05-04 22:38:36 +0000
committerrubidium <rubidium@openttd.org>2007-05-04 22:38:36 +0000
commitb76cc8c96b6a43e56addb5d6fe32513e7e0ea96f (patch)
treebd897a4b2c317680e808a00a3c12f0f238b07377 /src/order_cmd.cpp
parente81906c62d0f706ec98e95b4ed9dd039009fe167 (diff)
downloadopenttd-b76cc8c96b6a43e56addb5d6fe32513e7e0ea96f.tar.xz
(svn r9784) -Codechange: remove unused variable.
Diffstat (limited to 'src/order_cmd.cpp')
-rw-r--r--src/order_cmd.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/order_cmd.cpp b/src/order_cmd.cpp
index eb94a1bc2..08c404785 100644
--- a/src/order_cmd.cpp
+++ b/src/order_cmd.cpp
@@ -581,8 +581,6 @@ int32 CmdSkipOrder(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
v->cur_order_index = b;
- if (v->type == VEH_TRAIN) v->u.rail.days_since_order_progr = 0;
-
if (v->type == VEH_ROAD) ClearSlot(v);
/* NON-stop flag is misused to see if a train is in a station that is