From ce1c72cf6ece7b5aaa0bac1a546efa55bdc851db Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 28 Sep 2005 19:35:36 +0000 Subject: (svn r2995) Replace 0xFF/0xFFFF with CT_INVALID/OWNER_SPECTATOR/INVALID_STATION where appropriate --- station_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'station_cmd.c') 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; } } -- cgit v1.2.3-54-g00ecf