aircraft_cmd.c
changeset 2422 897a01f7c624
parent 2364 9685b222ab72
child 2423 4266590b549d
--- a/aircraft_cmd.c	Tue Sep 13 09:23:23 2005 +0000
+++ b/aircraft_cmd.c	Tue Sep 13 12:19:27 2005 +0000
@@ -253,10 +253,9 @@
 
 		_new_aircraft_id = v->index;
 
-		// the AI doesn't click on a tile to build airplanes, so the below code will
+		// the old AI doesn't click on a tile to build airplanes, so the below code will
 		// never work. Therefore just assume the AI's planes always come from Hangar0
-		// On hold for NewAI
-		v->u.air.pos = (!_patches.ainew_active && _is_ai_player) ? 0:MAX_ELEMENTS;
+		v->u.air.pos = _is_old_ai_player ? 0 : MAX_ELEMENTS;
 
 		/* When we click on hangar we know the tile (it is in var 'tile')it is on. By that we know
 			its position in the array of depots the airport has.....we can search