Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Combined unit and weapon slow update loops.
Fix #4862 If a unit was inserted during the unit slowUpdate process, between activeSlowUpdateWeapon and activeSlowUpdateUnit, it caused them to diverge (because the new unit had its weapons slowupdated instead of another unit). Then when the activeSlowUpdateWeapon was deleted, the iterator wasn't advanced (since the test only checks activeSlowUpdateUnit).
- Loading branch information
Showing
2 changed files
with
1 addition
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters