|
|
@ -135,6 +135,7 @@ namespace MWClass
|
|
|
|
data->mCreatureStats.setAiSetting (MWMechanics::CreatureStats::AI_Flee, ref->mBase->mAiData.mFlee);
|
|
|
|
data->mCreatureStats.setAiSetting (MWMechanics::CreatureStats::AI_Flee, ref->mBase->mAiData.mFlee);
|
|
|
|
data->mCreatureStats.setAiSetting (MWMechanics::CreatureStats::AI_Alarm, ref->mBase->mAiData.mAlarm);
|
|
|
|
data->mCreatureStats.setAiSetting (MWMechanics::CreatureStats::AI_Alarm, ref->mBase->mAiData.mAlarm);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Persistent actors with 0 health do not play death animation
|
|
|
|
if (data->mCreatureStats.isDead())
|
|
|
|
if (data->mCreatureStats.isDead())
|
|
|
|
data->mCreatureStats.setDeathAnimationFinished(ptr.getClass().isPersistent(ptr));
|
|
|
|
data->mCreatureStats.setDeathAnimationFinished(ptr.getClass().isPersistent(ptr));
|
|
|
|
|
|
|
|
|
|
|
|