From 2e31c212c063438f90028bde705b0b5ef17f1119 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Tue, 10 Jul 2018 11:33:07 +0300 Subject: [PATCH] [Client] Make any ActorAI packet override an actor's desire to fight --- apps/openmw/mwmp/DedicatedActor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/openmw/mwmp/DedicatedActor.cpp b/apps/openmw/mwmp/DedicatedActor.cpp index 1ed3ec829..f8c304a36 100644 --- a/apps/openmw/mwmp/DedicatedActor.cpp +++ b/apps/openmw/mwmp/DedicatedActor.cpp @@ -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) {