Skip to content

Remove unnecessary checks in canFight to avoid issue with actors going in/out of combat

Phillip A requested to merge phillipedison1891/openmw:combatai-fix into master

Per this forum post. The canFight function determines if a target is reachable for combat. Removed checks that, as far as I can tell, are unneeded and only serve to break combat AI if one actor is almost directly above or below another. Will remove WIP once input from other developers (preferably @MiroslavR) has been received

Edited by Phillip A

Merge request reports