Skip to content

Incorrect work of burer's telekinesis #886

@FreeZoneMods

Description

@FreeZoneMods

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    AIArtificial IntelligenceBugThe issue in the run-time.Vanilla BugThe original game issue.good first issueGood start for beginners that want to contribute.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions