-
-
Notifications
You must be signed in to change notification settings - Fork 512
Closed
Labels
AIArtificial IntelligenceArtificial IntelligenceBugThe issue in the run-time.The issue in the run-time.Vanilla BugThe original game issue.The original game issue.good first issueGood start for beginners that want to contribute.Good start for beginners that want to contribute.
Description
CStateBurerAttackTele class uses CTelekinesis::get_objects_count method to iterate over all active objects. It's incorrect - this method does not return the total number of objects, but the number of objects in the TS_Keep and TS_Raise states. To get the total number of active objects we need to use CTelekinesis::get_objects_total_count.
So, we need to review every call of get_objects_count in CStateBurerAttackTele, replace the incorrect calls with get_objects_total_count and check the logic of the surrounding code.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
AIArtificial IntelligenceArtificial IntelligenceBugThe issue in the run-time.The issue in the run-time.Vanilla BugThe original game issue.The original game issue.good first issueGood start for beginners that want to contribute.Good start for beginners that want to contribute.