diff --git a/aircraft.h b/aircraft.h index b7c93ee287..15d2bbe270 100644 --- a/aircraft.h +++ b/aircraft.h @@ -21,6 +21,6 @@ static inline bool IsAircraftInHangarStopped(const Vehicle* v) uint16 AircraftDefaultCargoCapacity(CargoID cid, EngineID engine_type); void CcCloneAircraft(bool success, TileIndex tile, uint32 p1, uint32 p2); -inline void HandleAircraftEnterHangar(Vehicle *v); +void HandleAircraftEnterHangar(Vehicle *v); #endif /* AIRCRAFT_H */ diff --git a/aircraft_cmd.c b/aircraft_cmd.c index a64227a975..70336c0dad 100644 --- a/aircraft_cmd.c +++ b/aircraft_cmd.c @@ -834,11 +834,9 @@ static void SetAircraftPosition(Vehicle *v, int x, int y, int z) } /** Handle Aircraft specific tasks when a an Aircraft enters a hangar - * Made inline because it's only called from one location (VehicleEnterDepot) - * Can't be moved to vehicle.c because it calls static Aircraft specific functions * @param *v Vehicle that enters the hangar */ -inline void HandleAircraftEnterHangar(Vehicle *v) +void HandleAircraftEnterHangar(Vehicle *v) { Vehicle *u; diff --git a/openttd.vcproj b/openttd.vcproj index d7ad6bf840..f32b35c037 100644 --- a/openttd.vcproj +++ b/openttd.vcproj @@ -427,6 +427,9 @@ + + diff --git a/openttd_vs80.vcproj b/openttd_vs80.vcproj index fabeba1400..832878cfa5 100644 --- a/openttd_vs80.vcproj +++ b/openttd_vs80.vcproj @@ -855,6 +855,10 @@ Name="Header Files" Filter="h;hpp;hxx;hm;inl" > + +