1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 15:35:23 +00:00

Removed a leftover

This commit is contained in:
scrawl 2013-03-14 21:10:22 +01:00
parent 5b943a965f
commit b36295cbb3
2 changed files with 0 additions and 21 deletions

View File

@ -322,24 +322,6 @@ namespace MWClass
return false;
}
bool Npc::getForceStance(const MWWorld::Ptr& ptr, Stance stance) const
{
MWMechanics::NpcStats& stats = getNpcStats (ptr);
switch (stance)
{
case Run:
return stats.getMovementFlag (MWMechanics::NpcStats::Flag_ForceRun);
case Sneak:
return stats.getMovementFlag (MWMechanics::NpcStats::Flag_ForceSneak);
case Combat:
return false;
}
return false;
}
float Npc::getSpeed(const MWWorld::Ptr& ptr) const
{
const MWBase::World *world = MWBase::Environment::get().getWorld();

View File

@ -76,9 +76,6 @@ namespace MWClass
virtual void setForceStance (const MWWorld::Ptr& ptr, Stance stance, bool force) const;
///< Force or unforce a stance.
virtual bool getForceStance (const MWWorld::Ptr& ptr, Stance stance) const;
///< Check if a stance forced.
virtual void setStance (const MWWorld::Ptr& ptr, Stance stance, bool set) const;
///< Set or unset a stance.