forked from mirror/openmw-tes3mp
NPC run
This commit is contained in:
parent
d7584f9df7
commit
2d84f7d33d
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ namespace MWMechanics
|
|||
|
||||
if(actor.getTypeName() == typeid(ESM::NPC).name())
|
||||
{
|
||||
|
||||
MWWorld::Class::get(actor).setStance(actor, MWWorld::Class::Run,true);
|
||||
MWMechanics::DrawState_ state = MWWorld::Class::get(actor).getNpcStats(actor).getDrawState();
|
||||
if (state == MWMechanics::DrawState_Spell || state == MWMechanics::DrawState_Nothing)
|
||||
MWWorld::Class::get(actor).getNpcStats(actor).setDrawState(MWMechanics::DrawState_Weapon);
|
||||
|
|
Loading…
Reference in a new issue