ship_cmd.c
changeset 1266 9dc5638fe8cc
parent 1247 01711347f9ac
child 1282 e7a73ee62d2f
--- a/ship_cmd.c	Wed Feb 02 15:45:53 2005 +0000
+++ b/ship_cmd.c	Wed Feb 02 16:16:43 2005 +0000
@@ -254,7 +254,7 @@
 		const Station *st;
 
 		if (order->station == v->last_station_visited)
-			v->last_station_visited = 0xFFFF;
+			v->last_station_visited = INVALID_STATION;
 
 		st = GetStation(order->station);
 		if (st->dock_tile != 0) {
@@ -919,7 +919,7 @@
 		v->cargo_cap = svi->capacity;
 		v->value = value;
 
-		v->last_station_visited = 0xFFFF;
+		v->last_station_visited = INVALID_STATION;
 		v->max_speed = svi->max_speed;
 		v->engine_type = (byte)p1;