From 864c66d1d489487d81e561f8a81387e23e91b009 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Tue, 10 Jul 2018 01:35:38 +0300 Subject: [PATCH] [Client] Make sure hasAiTarget is set correctly for DedicatedActors --- apps/openmw/mwmp/Cell.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/openmw/mwmp/Cell.cpp b/apps/openmw/mwmp/Cell.cpp index 3a3bfdc8f..694867d9e 100644 --- a/apps/openmw/mwmp/Cell.cpp +++ b/apps/openmw/mwmp/Cell.cpp @@ -257,6 +257,7 @@ void Cell::readAI(ActorList& actorList) { DedicatedActor *actor = dedicatedActors[mapIndex]; actor->aiAction = baseActor.aiAction; + actor->hasAiTarget = baseActor.hasAiTarget; actor->aiTarget = baseActor.aiTarget; actor->setAI(); }