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
commitbc1901a6e41b2abc5a6db5ac89ff990d9427a170 (patch)
treebd897a4b2c317680e808a00a3c12f0f238b07377 /src/order_cmd.cpp
parent93793eb89ad5e3286aff7dc101191782986d5e42 (diff)
downloadopenttd-bc1901a6e41b2abc5a6db5ac89ff990d9427a170.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