summaryrefslogtreecommitdiff
path: root/station_cmd.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 /station_cmd.c
parent6249dd46ad3b1b23ae959f57a0def00cf98dd8ee (diff)
downloadopenttd-ce1c72cf6ece7b5aaa0bac1a546efa55bdc851db.tar.xz
(svn r2995) Replace 0xFF/0xFFFF with CT_INVALID/OWNER_SPECTATOR/INVALID_STATION where appropriate
Diffstat (limited to 'station_cmd.c')
-rw-r--r--station_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/station_cmd.c b/station_cmd.c
index 699ef71b4..aeda0fa77 100644
--- a/station_cmd.c
+++ b/station_cmd.c
@@ -3131,7 +3131,7 @@ static void SaveLoad_STNS(Station *st)
/* In older versions, enroute_from had 0xFF as INVALID_STATION, is now 0xFFFF */
if (_sl_full_version < 0x700 && st->goods[i].enroute_from == 0xFF)
- st->goods[i].enroute_from = 0xFFFF;
+ st->goods[i].enroute_from = INVALID_STATION;
}
}