order_cmd.c
changeset 1673 410390d5b81a
parent 1314 10c3417e9c22
child 1674 0c5a729f0395
--- a/order_cmd.c	Sun Apr 10 20:48:43 2005 +0000
+++ b/order_cmd.c	Sun Apr 10 21:51:11 2005 +0000
@@ -362,9 +362,11 @@
 				v->u.rail.days_since_order_progr = 0;
 
 			if (v->type == VEH_Road && v->u.road.slot != NULL) {
-				//Clear the slot
-				v->u.road.slot->slot[v->u.road.slotindex] = 0;
+				//Clear the slot ClearSlot() of roadveh_cmd.c
+				DEBUG(ms, 3) ("Multistop: Clearing slot %d at 0x%x", v->u.road.slotindex, v->dest_tile);
 				v->u.road.slot = NULL;
+				v->u.road.slot_age = 0;
+				v->u.road.slot->slot[v->u.road.slotindex] = INVALID_SLOT;
 			}
 		}