-
Notifications
You must be signed in to change notification settings - Fork 141
bugfix(aiupdate): Chinooks and Helixes no longer take off after repair if passengers want to board or exit #1787
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bugfix(aiupdate): Chinooks and Helixes no longer take off after repair if passengers want to board or exit #1787
Conversation
…ngers want to board or exit
|
What is the difference between this en #1762? |
There are two separate cases in the retail game when a repairing Chinook or Helix will lift off: 1: Repairing has finished → lift off even if passengers intend to exit or board (fixed by #1787) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice improvement!
- Tested and works as described.
- Tested that the
RETAIL_COMPATIBLE_CRCguard is used correctly. Normal build does not mismatch against retail. - Also verified it works for Helix.
- The code looks good.
Generals/Code/GameEngine/Source/GameLogic/Object/Update/AIUpdate/ChinookAIUpdate.cpp
Outdated
Show resolved
Hide resolved
Generals/Code/GameEngine/Source/GameLogic/Object/Update/AIUpdate/ChinookAIUpdate.cpp
Outdated
Show resolved
Hide resolved
Generals/Code/GameEngine/Source/GameLogic/Object/Update/AIUpdate/ChinookAIUpdate.cpp
Outdated
Show resolved
Hide resolved
Generals/Code/GameEngine/Source/GameLogic/Object/Update/AIUpdate/ChinookAIUpdate.cpp
Show resolved
Hide resolved
|
This still has comments. |
xezon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good.
This change prevents repairing Chinooks and Helixes from taking off after repairing completes when there are passengers waiting to board or exit.
Before
The Chinook takes off after healing completes even though passengers intend to board
IGNORE_PASSENGERS.mp4
After
The Chinook stays landed after healing completes as passengers intend to board
AWAIT_PASSENGERS.mp4