(svn r14343) -Fix [FS#2300]: invalid v->u.air.targetairport could cause crashes at several places when the station pool got smaller
This commit is contained in:
@@ -130,4 +130,6 @@ struct Aircraft : public Vehicle {
|
||||
bool FindClosestDepot(TileIndex *location, DestinationID *destination, bool *reverse);
|
||||
};
|
||||
|
||||
Station *GetTargetAirportIfValid(const Vehicle *v);
|
||||
|
||||
#endif /* AIRCRAFT_H */
|
||||
|
Reference in New Issue
Block a user