From 95ce125633734ced1cfc1de45034b51a26fc94cc Mon Sep 17 00:00:00 2001 From: peter1138 Date: Sat, 18 Feb 2006 14:11:23 +0000 Subject: (svn r3612) - RoadStop->slot[] stores a vehicle index. Adjust its type and use INVALID_VEHICLE instead of nonsense INVALID_SLOT. --- oldloader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'oldloader.c') diff --git a/oldloader.c b/oldloader.c index b3cfa27e2..653963a41 100644 --- a/oldloader.c +++ b/oldloader.c @@ -372,7 +372,7 @@ static void FixOldStations(void) st->bus_stops->station = st->index; st->bus_stops->next = NULL; st->bus_stops->prev = NULL; - st->bus_stops->slot[0] = st->bus_stops->slot[1] = INVALID_SLOT; + st->bus_stops->slot[0] = st->bus_stops->slot[1] = INVALID_VEHICLE; } if (st->lorry_tile_obsolete != 0) { @@ -383,7 +383,7 @@ static void FixOldStations(void) st->truck_stops->station = st->index; st->truck_stops->next = NULL; st->truck_stops->prev = NULL; - st->truck_stops->slot[0] = st->truck_stops->slot[1] = INVALID_SLOT; + st->truck_stops->slot[0] = st->truck_stops->slot[1] = INVALID_VEHICLE; } } } -- cgit v1.2.3-54-g00ecf