(svn r19322) -Codechange: change the id of the oilrig airport from 15 to 9

pull/155/head
yexo 15 years ago
parent 8ddb33a3bc
commit 4768c3f87c

@ -36,7 +36,7 @@ enum {
AT_INTERCON = 7,
AT_HELISTATION = 8,
NUM_AIRPORTS = 9,
AT_OILRIG = 15,
AT_OILRIG = 9,
AT_DUMMY = 255
};

@ -2067,6 +2067,7 @@ bool AfterLoadGame()
Station *st;
FOR_ALL_STATIONS(st) {
if (st->airport.tile != INVALID_TILE) {
if (st->airport_type == 15) st->airport_type = AT_OILRIG;
st->airport.w = st->GetAirportSpec()->size_x;
st->airport.h = st->GetAirportSpec()->size_y;
}

Loading…
Cancel
Save