mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-26 06:40:22 +00:00
NPC run
This commit is contained in:
parent
d7584f9df7
commit
2d84f7d33d
@ -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…
x
Reference in New Issue
Block a user