# HG changeset patch
# User HackaLittleBit
# Date 1389437178 0
#      Sat Jan 11 10:46:18 2014 +0000
# Node ID 42f919636a80dc54a629a2d87b9706339f3ff5cb
# Parent  26d6e30eb0b179c07d8b9ea1ae04eea728c92c06
Control flight level of helicopters

diff --git a/src/table/airport_movement.h b/src/table/airport_movement.h
--- a/src/table/airport_movement.h
+++ b/src/table/airport_movement.h
@@ -66,7 +66,7 @@
 	AMD(  232,  -17, AMED_HOLD       | AMED_SLOWTURN, DIR_N ), // 17 Fly around waiting for a landing spot (south-west)
 	AMD(  232,   38, AMED_HOLD       | AMED_SLOWTURN, DIR_N ), // 18 Fly around waiting for a landing spot (south)
 	AMD(   44,   37, AMED_HELI_RAISE,                 DIR_N ), // 19 Helicopter takeoff
-	AMD(   44,   38, AMED_NOSPDCLAMP | AMED_SLOWTURN, DIR_N ), // 20 In position above landing spot helicopter
+	AMD(   44,   38, AMED_HOLD       | AMED_SLOWTURN, DIR_N ), // 20 In position above landing spot helicopter
 	AMD(   44,   38, AMED_HELI_LOWER,                 DIR_N ), // 21 Helicopter landing
 	AMD(  365,   38, AMED_NOSPDCLAMP | AMED_SLOWTURN, DIR_N ), // 22 Initial DIAGDIR_NE approach
 	AMD(   56, -193, AMED_NOSPDCLAMP | AMED_SLOWTURN, DIR_N ), // 23 Initial DIAGDIR_SE approach
@@ -102,10 +102,10 @@
 	AMD(  225,  -14, AMED_HOLD       | AMED_SLOWTURN, DIR_N ), // 23 Fly around waiting for a landing spot (south-west)
 	AMD(  225,   54, AMED_HOLD       | AMED_SLOWTURN, DIR_N ), // 24 Fly around waiting for a landing spot (south)
 	/* Helicopter */
-	AMD(   80,    0, AMED_NOSPDCLAMP | AMED_SLOWTURN, DIR_N ), // 25 Bufferspace before helipad
-	AMD(   80,    0, AMED_NOSPDCLAMP | AMED_SLOWTURN, DIR_N ), // 26 Bufferspace before helipad
-	AMD(   30,    8, AMED_NOSPDCLAMP | AMED_SLOWTURN, DIR_N ), // 27 Get in position for Helipad1
-	AMD(   46,    8, AMED_NOSPDCLAMP | AMED_SLOWTURN, DIR_N ), // 28 Get in position for Helipad2
+	AMD(   80,    0, AMED_HOLD       | AMED_SLOWTURN, DIR_N ), // 25 Bufferspace before helipad
+	AMD(   80,    0, AMED_HOLD       | AMED_SLOWTURN, DIR_N ), // 26 Bufferspace before helipad
+	AMD(   30,    8, AMED_HOLD       | AMED_SLOWTURN, DIR_N ), // 27 Get in position for Helipad1
+	AMD(   46,    8, AMED_HOLD       | AMED_SLOWTURN, DIR_N ), // 28 Get in position for Helipad2
 	AMD(   30,    8, AMED_HELI_LOWER,                 DIR_N ), // 29 Land at Helipad1
 	AMD(   46,    8, AMED_HELI_LOWER,                 DIR_N ), // 30 Land at Helipad2
 	AMD(   30,    8, AMED_HELI_RAISE,                 DIR_N ), // 31 Takeoff Helipad1
@@ -145,7 +145,7 @@
 	AMD(  257,    0, AMED_HOLD       | AMED_SLOWTURN, DIR_N ), // 20 Fly around waiting for a landing spot (south-west)
 	AMD(  273,   68, AMED_HOLD       | AMED_SLOWTURN, DIR_N ), // 21 Fly around waiting for a landing spot (south)
 	AMD(   44,   63, AMED_HELI_RAISE,                 DIR_N ), // 22 Helicopter takeoff
-	AMD(   28,   74, AMED_NOSPDCLAMP | AMED_SLOWTURN, DIR_N ), // 23 In position above landing spot helicopter
+	AMD(   28,   74, AMED_HOLD       | AMED_SLOWTURN, DIR_N ), // 23 In position above landing spot helicopter
 	AMD(   28,   74, AMED_HELI_LOWER,                 DIR_N ), // 24 Helicopter landing
 	AMD(  144,    0, AMED_HOLD       | AMED_SLOWTURN, DIR_N ), // 25 Fly around waiting for a landing spot (north-west)
 	AMD(  396,  157, AMED_NOSPDCLAMP | AMED_SLOWTURN, DIR_N ), // 26 Initial DIAGDIR_NE approach
@@ -181,7 +181,7 @@
 	AMD(  273,   49, AMED_HOLD       | AMED_SLOWTURN, DIR_N ), // 22 Fly around waiting for a landing spot (south)
 	AMD(   44,   58, 0,                               DIR_N ), // 23 Helicopter takeoff spot on ground (to clear airport sooner)
 	AMD(   44,   63, AMED_HELI_RAISE,                 DIR_N ), // 24 Helicopter takeoff
-	AMD(   15,   54, AMED_NOSPDCLAMP | AMED_SLOWTURN, DIR_N ), // 25 Get in position above landing spot helicopter
+	AMD(   15,   54, AMED_HOLD       | AMED_SLOWTURN, DIR_N ), // 25 Get in position above landing spot helicopter
 	AMD(   15,   54, AMED_HELI_LOWER,                 DIR_N ), // 26 Helicopter landing
 	AMD(   22,   58, AMED_EXACTPOS,                   DIR_SW), // 27 Transitions after landing to on-ground movement
 	AMD(  396,  157, AMED_NOSPDCLAMP | AMED_SLOWTURN, DIR_N ), // 28 Initial DIAGDIR_NE approach
@@ -234,10 +234,10 @@
 	AMD(  273,    6, AMED_HOLD       | AMED_SLOWTURN, DIR_N ), // 39 Fly around waiting for a landing spot (south-west)
 	AMD(  305,   81, AMED_HOLD       | AMED_SLOWTURN, DIR_N ), // 40 Fly around waiting for a landing spot (south)
 	/* Helicopter */
-	AMD(  128,   80, AMED_NOSPDCLAMP | AMED_SLOWTURN, DIR_N ), // 41 Bufferspace before helipad
-	AMD(  128,   80, AMED_NOSPDCLAMP | AMED_SLOWTURN, DIR_N ), // 42 Bufferspace before helipad
-	AMD(   96,   71, AMED_NOSPDCLAMP | AMED_SLOWTURN, DIR_N ), // 43 Get in position for Helipad1
-	AMD(   96,   55, AMED_NOSPDCLAMP | AMED_SLOWTURN, DIR_N ), // 44 Get in position for Helipad2
+	AMD(  128,   80, AMED_HOLD       | AMED_SLOWTURN, DIR_N ), // 41 Bufferspace before helipad
+	AMD(  128,   80, AMED_HOLD       | AMED_SLOWTURN, DIR_N ), // 42 Bufferspace before helipad
+	AMD(   96,   71, AMED_HOLD       | AMED_SLOWTURN, DIR_N ), // 43 Get in position for Helipad1
+	AMD(   96,   55, AMED_HOLD       | AMED_SLOWTURN, DIR_N ), // 44 Get in position for Helipad2
 	AMD(   96,   71, AMED_HELI_LOWER,                 DIR_N ), // 45 Land at Helipad1
 	AMD(   96,   55, AMED_HELI_LOWER,                 DIR_N ), // 46 Land at Helipad2
 	AMD(  104,   71, AMED_HELI_RAISE,                 DIR_N ), // 47 Takeoff Helipad1
@@ -300,10 +300,10 @@
 	AMD(  134, -164, AMED_HOLD       | AMED_SLOWTURN, DIR_N ), // 45 Fly around waiting for a landing spot ,south-west)
 	AMD(  320,  134, AMED_HOLD       | AMED_SLOWTURN, DIR_N ), // 46 Fly around waiting for a landing spot ,south)
 	/* Helicopter */
-	AMD(   94,   38, AMED_NOSPDCLAMP,                 DIR_N ), // 47 Bufferspace before helipad
-	AMD(   94,   38, AMED_NOSPDCLAMP,                 DIR_N ), // 48 Bufferspace before helipad
-	AMD(   80,   52, AMED_NOSPDCLAMP | AMED_SLOWTURN, DIR_N ), // 49 Get in position for Helipad1
-	AMD(   62,   54, AMED_NOSPDCLAMP | AMED_SLOWTURN, DIR_N ), // 50 Get in position for Helipad2
+	AMD(   94,   38, AMED_HOLD       | AMED_SLOWTURN, DIR_N ), // 47 Bufferspace before helipad
+	AMD(   94,   38, AMED_HOLD       | AMED_SLOWTURN, DIR_N ), // 48 Bufferspace before helipad
+	AMD(   80,   52, AMED_HOLD       | AMED_SLOWTURN, DIR_N ), // 49 Get in position for Helipad1
+	AMD(   62,   54, AMED_HOLD       | AMED_SLOWTURN, DIR_N ), // 50 Get in position for Helipad2
 	AMD(   79,   53, AMED_HELI_LOWER,                 DIR_N ), // 51 Land at Helipad1
 	AMD(   62,   54, AMED_HELI_LOWER,                 DIR_N ), // 52 Land at Helipad2
 	AMD(   78,   54, AMED_HELI_RAISE,                 DIR_N ), // 53 Takeoff Helipad1
