Fix combat engagement for creatures

remotes/1728160796594174844/tmp_0.7.0-alpha
Andrei Kortunov 6 years ago
parent 126b2fdd42
commit cde95979d0

@ -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)

Loading…
Cancel
Save