[Client] Make any ActorAI packet override an actor's desire to fight

0.6.3
David Cernat 7 years ago
parent 79ee976c95
commit 2e31c212c0

@ -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…
Cancel
Save