--- a/aircraft.h Thu Oct 05 01:43:49 2006 +0000
+++ b/aircraft.h Thu Oct 05 02:26:27 2006 +0000
@@ -21,6 +21,6 @@
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 */
--- a/aircraft_cmd.c Thu Oct 05 01:43:49 2006 +0000
+++ b/aircraft_cmd.c Thu Oct 05 02:26:27 2006 +0000
@@ -834,11 +834,9 @@
}
/** 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;
--- a/openttd.vcproj Thu Oct 05 01:43:49 2006 +0000
+++ b/openttd.vcproj Thu Oct 05 02:26:27 2006 +0000
@@ -428,6 +428,9 @@
Name="Header Files"
Filter="h;hpp;hxx;hm;inl">
<File
+ RelativePath=".\aircraft.h">
+ </File>
+ <File
RelativePath=".\airport.h">
</File>
<File
--- a/openttd_vs80.vcproj Thu Oct 05 01:43:49 2006 +0000
+++ b/openttd_vs80.vcproj Thu Oct 05 02:26:27 2006 +0000
@@ -856,6 +856,10 @@
Filter="h;hpp;hxx;hm;inl"
>
<File
+ RelativePath=".\aircraft.h"
+ >
+ </File>
+ <File
RelativePath=".\airport.h"
>
</File>