1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-03 17:19:39 +00:00

Fix combat engagement for creatures

This commit is contained in:
Andrei Kortunov 2018-08-10 09:29:01 +04:00
parent 126b2fdd42
commit cde95979d0

View file

@ -1346,7 +1346,7 @@ namespace MWMechanics
{ {
if (it->first == iter->first || isPlayer) // player is not AI-controlled if (it->first == iter->first || isPlayer) // player is not AI-controlled
continue; continue;
engageCombat(iter->first, it->first, cachedAllies, isPlayer); engageCombat(iter->first, it->first, cachedAllies, it->first == player);
} }
} }
if (timerUpdateHeadTrack == 0) if (timerUpdateHeadTrack == 0)