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:
parent
5b943a965f
commit
b36295cbb3
@ -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();
|
||||
|
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user