Repository navigation
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
Walkthrough
ChangesPath Request Restore
Priority: ➖ Normal Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to No unresolved issue is established in the reviewed changes; the pending-path restoration is present in both game variants. Pre-merge checks ·
|
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:
a8939d73-1259-4fb8-a381-d1d77228e8e6
📒 Files selected for processing (1)
GeneralsMD/Code/GameEngine/Source/GameLogic/Object/Update/AIUpdate.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.
AIUpdateInterface::xfersavesm_waitingForPath, butPathfinder::xferdoes not save the pathfind queue. A unit saved while its request sits in the queue loads with the flag set and no queue entry, so the request is never serviced and the unit stands still.Now
AIUpdateInterface::loadPostProcessqueues the request again when the unit is waiting for a path. Requests delayed bym_queueForPathFrameare left alone, becauseAIUpdateInterface::updatealready queues them when that frame arrives. The queue order after a load follows the object load order, not the original order.Todo: