(svn r9524) -Fix(FS#640,r8755): Implemented a "dummy" State Machine for stations who got their airport removed while there were still aircraft within the State Machine (and thus caused asserts)
This commit is contained in:
@@ -118,7 +118,7 @@ struct Station {
|
||||
|
||||
const AirportFTAClass *Airport() const
|
||||
{
|
||||
assert(airport_tile != 0);
|
||||
if (airport_tile == 0) return GetAirport(AT_DUMMY);
|
||||
return GetAirport(airport_type);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user