Reset Run stance in AiWander

actorid
scrawl 11 years ago
parent 23ffb8a4dc
commit e717694b36

@ -68,6 +68,7 @@ namespace MWMechanics
bool AiWander::execute (const MWWorld::Ptr& actor,float duration)
{
actor.getClass().getCreatureStats(actor).setDrawState(DrawState_Nothing);
actor.getClass().getCreatureStats(actor).setMovementFlag(CreatureStats::Flag_Run, false);
MWBase::World *world = MWBase::Environment::get().getWorld();
if(mDuration)
{

Loading…
Cancel
Save