order_cmd.c
changeset 1266 9dc5638fe8cc
parent 1247 01711347f9ac
child 1297 c828ac28760b
--- a/order_cmd.c	Wed Feb 02 15:45:53 2005 +0000
+++ b/order_cmd.c	Wed Feb 02 16:16:43 2005 +0000
@@ -756,7 +756,7 @@
 
 		/* Forget about this station if this station is removed */
 		if (v->last_station_visited == dest.station && dest.type == OT_GOTO_STATION)
-			v->last_station_visited = 0xFFFF;
+			v->last_station_visited = INVALID_STATION;
 
 		/* Check the current order */
 		if (v->current_order.type    == dest.type &&