mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-04 04:15:31 +00:00
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())
|
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();
|
MWMechanics::DrawState_ state = MWWorld::Class::get(actor).getNpcStats(actor).getDrawState();
|
||||||
if (state == MWMechanics::DrawState_Spell || state == MWMechanics::DrawState_Nothing)
|
if (state == MWMechanics::DrawState_Spell || state == MWMechanics::DrawState_Nothing)
|
||||||
MWWorld::Class::get(actor).getNpcStats(actor).setDrawState(MWMechanics::DrawState_Weapon);
|
MWWorld::Class::get(actor).getNpcStats(actor).setDrawState(MWMechanics::DrawState_Weapon);
|
||||||
|
|
Loading…
Reference in a new issue