Repository navigation
bugfix(aiupdate): Keep contained hackers hacking when Stop is pressed - #3533
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
Walkthrough
ChangesHacker Command Handling
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix · Severity of issue fixed: Medium Merge Risk: ⚪ Minimal · up to
|
[Medium impact] The PR appears safe to merge.
|
4799211 to
6321b10
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Organization UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
da6a2f0b-58ca-4a6d-b62d-154bb94fb78d
📥 Commits
Reviewing files that changed from the base of the PR and between 47992112391f9a90286cb0b7e3b98fed71a8983c and 6321b109114d1de5c8157e6069f6d70b8901f6f2.
📒 Files selected for processing: 1
GeneralsMD/Code/GameEngine/Source/GameLogic/Object/Update/AIUpdate/HackInternetAIUpdate.cpp
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 2 remain after this review.
6321b10 to
4ab3154
Compare
|
Not sure if you're waiting for approval first, but this needs to be replicated to Generals. |
|
Ahh, there was no internet center in Generals so didn't add it originally. |
4ab3154 to
6d59e95
Compare
|
Replicated to Generals as well. |
xezon
left a comment
There was a problem hiding this comment.
Logically looks ok. Can be polished more.
6d59e95 to
de76048
Compare
de76048 to
2520c0b
Compare
2520c0b to
a923a72
Compare
Closes #136
Stop is forwarded to the hackers inside an Internet Center and makes them pack up and go idle. The center only starts them hacking when they enter, so they stay idle until evacuated and sent back in.
HackInternetAIUpdate::aiDoCommandnow ignores player-issued Stop while the hacker is contained and currently unpacking or hacking. This also covers modded containers without the Internet Center flag. On-foot Stop, evacuation and engine-issued idle commands are unchanged.