forked from mirror/openmw-tes3mp
[Client] Make any ActorAI packet override an actor's desire to fight
This commit is contained in:
parent
79ee976c95
commit
2e31c212c0
1 changed files with 1 additions and 0 deletions
|
@ -214,6 +214,7 @@ void DedicatedActor::setEquipment()
|
|||
void DedicatedActor::setAI()
|
||||
{
|
||||
MWMechanics::CreatureStats *ptrCreatureStats = &ptr.getClass().getCreatureStats(ptr);
|
||||
ptrCreatureStats->setAiSetting(MWMechanics::CreatureStats::AI_Fight, 0);
|
||||
|
||||
if (aiAction == mwmp::BaseActorList::CANCEL)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue