1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-30 16:20:21 +00:00

Merge pull request #1641

This commit is contained in:
scrawl 2018-04-02 17:53:30 +00:00
commit c6abec1e51
No known key found for this signature in database
GPG Key ID: 2E6CC3676024C402

View File

@ -391,7 +391,7 @@ namespace MWMechanics
{
// Player followers and escorters with high fight should not initiate combat with the player or with
// other player followers or escorters
if (std::find(playerAllies.begin(), playerAllies.end(), actor1) == playerAllies.end())
if (!isPlayerFollowerOrEscorter)
aggressive = MWBase::Environment::get().getMechanicsManager()->isAggressive(actor1, actor2);
}
}