Vanilla-Conquer icon indicating copy to clipboard operation
Vanilla-Conquer copied to clipboard

RA Fixed-Wing State Machine Bug

Open ChthonVII opened this issue 2 years ago • 0 comments

In the REGROUP block of AircraftClass::Mission_Hunt() it's possible to call Enter_Idle_Mode() and then the code continues on potentially doing stuff inconsistent with having just done that. One branch will call Enter_Idle_Mode() as second time. Another branch will set the Status variable even though the plane now has a new mission with a different enum for what Status means. A third branch changes the mission again. See this commit.

ChthonVII avatar Jul 17 '22 15:07 ChthonVII