mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-21 06:09:42 +00:00
Merge branch 'more_single_character_changes' into 'master'
Fix inverted logic II Closes #6772 See merge request OpenMW/openmw!1929
This commit is contained in:
commit
2f8a5fdc55
1 changed files with 1 additions and 1 deletions
|
@ -971,7 +971,7 @@ namespace MWMechanics
|
|||
const auto mechanicsManager = MWBase::Environment::get().getMechanicsManager();
|
||||
const auto world = MWBase::Environment::get().getWorld();
|
||||
|
||||
if (actorClass.isClass(ptr, "Guard") && creatureStats.getAiSequence().isInPursuit() && !creatureStats.getAiSequence().isInCombat()
|
||||
if (actorClass.isClass(ptr, "Guard") && !creatureStats.getAiSequence().isInPursuit() && !creatureStats.getAiSequence().isInCombat()
|
||||
&& creatureStats.getMagicEffects().get(ESM::MagicEffect::CalmHumanoid).getMagnitude() == 0)
|
||||
{
|
||||
const MWWorld::ESMStore& esmStore = world->getStore();
|
||||
|
|
Loading…
Reference in a new issue