summaryrefslogtreecommitdiff
path: root/order_cmd.c
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2006-03-02 08:55:12 +0000
committercelestar <celestar@openttd.org>2006-03-02 08:55:12 +0000
commit9d54e51ef995d2f2d65b12f74ce31cbcbf8848a1 (patch)
treee514578eea81526bce27d2306272f84907b34d4f /order_cmd.c
parent841e6ab121d1f2d29904e8408b0394c55cbf17f5 (diff)
downloadopenttd-9d54e51ef995d2f2d65b12f74ce31cbcbf8848a1.tar.xz
(svn r3730) Multistop modifications:
-Codechange: Completely rewritten the slot assignment system. It now consumes less CPU cycles and memory -Codechange: Increased maximum number of roadstops to 16. -Fix: Several conditions where a slot becomes unliked from a vehicle -Codechange: ClearSlot now only takes one parameter, the vehicle -Feature: Console command 'clearslots' to clear ALL currently assinged slots. debug usage only -Feature: vehicles that cannot get a slot now wait on the road instead of planlessly blocking stops or circling around -Codechange: Adjusted debug levels TODO: Make the slot finder compatible with (a) pathfinder(s).
Diffstat (limited to 'order_cmd.c')
-rw-r--r--order_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/order_cmd.c b/order_cmd.c
index 662acbacd..22770eac4 100644
--- a/order_cmd.c
+++ b/order_cmd.c
@@ -503,7 +503,7 @@ int32 CmdSkipOrder(int x, int y, uint32 flags, uint32 p1, uint32 p2)
if (v->type == VEH_Train) v->u.rail.days_since_order_progr = 0;
- if (v->type == VEH_Road) ClearSlot(v, v->u.road.slot);
+ if (v->type == VEH_Road) ClearSlot(v);
/* NON-stop flag is misused to see if a train is in a station that is
* on his order list or not */