From f5d1b4415c3bc8f145a84b8fd00d04629eb6e218 Mon Sep 17 00:00:00 2001 From: XaviDCR92 Date: Wed, 31 May 2017 06:57:06 +0200 Subject: * Aircraft 0 was incorrectly being removed because indexes 0 to GAME_MAX_AIRCRAFT were being read instead of 0 to ptrPlayer->ActiveAircraft. * Solved issues with linked list overflow. A detection mechanism has also been added. * New state STATE_ENTERING_RWY. * GameGuiActiveAircraftList has been moved from GameGui to Game module. * Active aircraft list for each player is now updated each time that a new flight either appears or disappears. * Other minor fixes. --- Source/GameStructures.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Source/GameStructures.h') diff --git a/Source/GameStructures.h b/Source/GameStructures.h index 34f5697..4d88c48 100644 --- a/Source/GameStructures.h +++ b/Source/GameStructures.h @@ -38,6 +38,7 @@ typedef enum t_flstate STATE_UNBOARDING, STATE_TAXIING, STATE_HOLDING_RWY, + STATE_ENTERING_RWY, STATE_READY_FOR_TAKEOFF, STATE_TAKEOFF, STATE_CLIMBING, -- cgit v1.2.3