--- a/oldloader.c Mon Apr 03 13:35:19 2006 +0000
+++ b/oldloader.c Mon Apr 03 14:25:32 2006 +0000
@@ -356,7 +356,6 @@
static void FixOldStations(void)
{
Station *st;
- int i;
FOR_ALL_STATIONS(st) {
/* Check if we need to swap width and height for the station */
@@ -373,7 +372,7 @@
st->bus_stops->station = st->index;
st->bus_stops->next = NULL;
st->bus_stops->prev = NULL;
- for (i = 0; i < NUM_SLOTS; i++) st->bus_stops->slot[i] = INVALID_VEHICLE;
+ st->bus_stops->num_vehicles = 0;
}
if (st->lorry_tile_obsolete != 0) {
@@ -384,7 +383,7 @@
st->truck_stops->station = st->index;
st->truck_stops->next = NULL;
st->truck_stops->prev = NULL;
- for (i = 0; i < NUM_SLOTS; i++) st->truck_stops->slot[i] = INVALID_VEHICLE;
+ st->truck_stops->num_vehicles = 0;
}
}
}