summaryrefslogtreecommitdiff
path: root/aircraft_cmd.c
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2006-10-05 02:26:27 +0000
committerbelugas <belugas@openttd.org>2006-10-05 02:26:27 +0000
commitb0444e6a50484c24441d5c7886a3a051fd147d66 (patch)
treec957f8107c3cbccddcd57b715e61cab0fa360991 /aircraft_cmd.c
parentad4ed70cf3fd1d34016f9212f6942d6ff8846440 (diff)
downloadopenttd-b0444e6a50484c24441d5c7886a3a051fd147d66.tar.xz
(svn r6644) -Fix(r6637): remove inline to allow MSVC compilation
-Fix(r5124): Add aircraft.h to MSVC projects
Diffstat (limited to 'aircraft_cmd.c')
-rw-r--r--aircraft_cmd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/aircraft_cmd.c b/aircraft_cmd.c
index a64227a97..70336c0da 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;