summaryrefslogtreecommitdiff
path: root/vehicle.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-09-28 19:35:36 +0000
committertron <tron@openttd.org>2005-09-28 19:35:36 +0000
commitce1c72cf6ece7b5aaa0bac1a546efa55bdc851db (patch)
treefabd4f30d2f27b1466d0b8f0c8737b900cf5634c /vehicle.c
parent6249dd46ad3b1b23ae959f57a0def00cf98dd8ee (diff)
downloadopenttd-ce1c72cf6ece7b5aaa0bac1a546efa55bdc851db.tar.xz
(svn r2995) Replace 0xFF/0xFFFF with CT_INVALID/OWNER_SPECTATOR/INVALID_STATION where appropriate
Diffstat (limited to 'vehicle.c')
-rw-r--r--vehicle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vehicle.c b/vehicle.c
index e1e5fabdc..39a251a4c 100644
--- a/vehicle.c
+++ b/vehicle.c
@@ -2233,7 +2233,7 @@ static void Load_VEHS(void)
/* Old savegames used 'last_station_visited = 0xFF', should be 0xFFFF */
if (_sl_version < 5 && v->last_station_visited == 0xFF)
- v->last_station_visited = 0xFFFF;
+ v->last_station_visited = INVALID_STATION;
if (_sl_version < 5) {
/* Convert the current_order.type (which is a mix of type and flags, because