diff options
author | yexo <yexo@openttd.org> | 2010-03-05 23:20:02 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-03-05 23:20:02 +0000 |
commit | 308781664b6b316f6f13822d292f3c5c787d62c9 (patch) | |
tree | 418276f5e0a0628a4144854a78c561cf4b086a36 /src/saveload | |
parent | 833169d8941f7b1a69343c5978c1c8043d37d83f (diff) | |
download | openttd-308781664b6b316f6f13822d292f3c5c787d62c9.tar.xz |
(svn r19322) -Codechange: change the id of the oilrig airport from 15 to 9
Diffstat (limited to 'src/saveload')
-rw-r--r-- | src/saveload/afterload.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp index e4c3e865a..e4069b1bb 100644 --- a/src/saveload/afterload.cpp +++ b/src/saveload/afterload.cpp @@ -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; } |