mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-06 00:55:50 +00:00
Fix combat engagement for creatures
This commit is contained in:
parent
126b2fdd42
commit
cde95979d0
@ -1346,7 +1346,7 @@ namespace MWMechanics
|
||||
{
|
||||
if (it->first == iter->first || isPlayer) // player is not AI-controlled
|
||||
continue;
|
||||
engageCombat(iter->first, it->first, cachedAllies, isPlayer);
|
||||
engageCombat(iter->first, it->first, cachedAllies, it->first == player);
|
||||
}
|
||||
}
|
||||
if (timerUpdateHeadTrack == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user