[Client] Make sure hasAiTarget is set correctly for DedicatedActors

0.6.3
David Cernat 7 years ago
parent 26ac29e8b1
commit 864c66d1d4

@ -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();
}

Loading…
Cancel
Save