Mercurial > hg > openttd
changeset 14734:3dac5b249ba2 draft
(svn r19322) -Codechange: change the id of the oilrig airport from 15 to 9
author | yexo <yexo@openttd.org> |
---|---|
date | Fri, 05 Mar 2010 23:20:02 +0000 |
parents | c657ed9816cc |
children | e1830ab3a417 |
files | src/airport.h src/saveload/afterload.cpp |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/airport.h +++ b/src/airport.h @@ -36,7 +36,7 @@ AT_INTERCON = 7, AT_HELISTATION = 8, NUM_AIRPORTS = 9, - AT_OILRIG = 15, + AT_OILRIG = 9, AT_DUMMY = 255 };
--- a/src/saveload/afterload.cpp +++ b/src/saveload/afterload.cpp @@ -2067,6 +2067,7 @@ 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; }