mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 18:19:55 +00:00
Replace a redundant playerAllies check with a boolean (Fixes #4229)
This commit is contained in:
parent
9b8c56761b
commit
42b7846f81
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue