Remove unused Combat stance

actorid
scrawl 11 years ago
parent 79a6ffd216
commit 03b2e99802

@ -821,10 +821,6 @@ namespace MWClass
stats.setMovementFlag (MWMechanics::NpcStats::Flag_ForceSneak, force); stats.setMovementFlag (MWMechanics::NpcStats::Flag_ForceSneak, force);
break; break;
case Combat:
throw std::runtime_error ("combat stance not enforcable for NPCs");
} }
} }
@ -843,12 +839,6 @@ namespace MWClass
stats.setMovementFlag (MWMechanics::NpcStats::Flag_Sneak, set); stats.setMovementFlag (MWMechanics::NpcStats::Flag_Sneak, set);
break; break;
case Combat:
// Combat stance ignored for now; need to be determined based on draw state instead of
// being maunally set.
break;
} }
} }
@ -871,10 +861,6 @@ namespace MWClass
return true; return true;
return stats.getMovementFlag (MWMechanics::NpcStats::Flag_Sneak); return stats.getMovementFlag (MWMechanics::NpcStats::Flag_Sneak);
case Combat:
return false;
} }
return false; return false;

@ -70,7 +70,7 @@ namespace MWWorld
/// NPC-stances. /// NPC-stances.
enum Stance enum Stance
{ {
Run, Sneak, Combat Run, Sneak
}; };
virtual ~Class(); virtual ~Class();

Loading…
Cancel
Save