forked from mirror/openmw-tes3mp
Feature #1154 Not all NPCs get aggressive when one is attacked
Compiling fix
This commit is contained in:
parent
6c866deb1b
commit
98fd381564
1 changed files with 1 additions and 1 deletions
|
@ -843,7 +843,7 @@ namespace MWMechanics
|
||||||
|
|
||||||
// TODO: An actor reacts differently based on different values of AI_Fight and AI_Flee.
|
// TODO: An actor reacts differently based on different values of AI_Fight and AI_Flee.
|
||||||
// Actor has reported the crime, will the actor fight the offender?
|
// Actor has reported the crime, will the actor fight the offender?
|
||||||
if (creatureStats.getAiSetting(CreatureStats::AI_Fight).getModified > 0)
|
if (creatureStats.getAiSetting(CreatureStats::AI_Fight).getModified() > 0)
|
||||||
{
|
{
|
||||||
creatureStats.getAiSequence().stack(AiCombat(offender));
|
creatureStats.getAiSequence().stack(AiCombat(offender));
|
||||||
creatureStats.setHostile(true);
|
creatureStats.setHostile(true);
|
||||||
|
|
Loading…
Reference in a new issue