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
commit90e33aed225cf00a75185d731cad5ce1c3520559 (patch)
treefabd4f30d2f27b1466d0b8f0c8737b900cf5634c /station_cmd.c
parentf0e3072b6c82907322cfdec40da3ec682dc7be0b (diff)
downloadopenttd-90e33aed225cf00a75185d731cad5ce1c3520559.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;
}
}