diff options
author | tron <tron@openttd.org> | 2007-01-31 21:38:09 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2007-01-31 21:38:09 +0000 |
commit | ce12ae7420515cc9cad636dadb500a1f32776b04 (patch) | |
tree | 997658e9f03cf77d860600dbff7e8976f949f773 /src/aircraft_cmd.cpp | |
parent | c5c0a54a5020e911f0375db8dfbf228032a5773a (diff) | |
download | openttd-ce12ae7420515cc9cad636dadb500a1f32776b04.tar.xz |
(svn r8498) -Fix
-Codechange: Move the update of the oil rig airport type to the recently (r8485) added loop
Diffstat (limited to 'src/aircraft_cmd.cpp')
-rw-r--r-- | src/aircraft_cmd.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/aircraft_cmd.cpp b/src/aircraft_cmd.cpp index 9aa91efd6..c4e63eed5 100644 --- a/src/aircraft_cmd.cpp +++ b/src/aircraft_cmd.cpp @@ -2041,14 +2041,6 @@ void Aircraft_Tick(Vehicle *v) } } -void UpdateOilRig(void) -{ - Station* st; - - FOR_ALL_STATIONS(st) { - if (st->airport_type == 5) st->airport_type = AT_OILRIG; - } -} // need to be called to load aircraft from old version void UpdateOldAircraft(void) @@ -2060,8 +2052,6 @@ void UpdateOldAircraft(void) // set airport_flags to 0 for all airports just to be sure FOR_ALL_STATIONS(st) { st->airport_flags = 0; // reset airport - // type of oilrig has been moved, update it (3-5) - if (st->airport_type == 3) st->airport_type = AT_OILRIG; } FOR_ALL_VEHICLES(v_oldstyle) { |