mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-13 19:39:44 +00:00
Removed a leftover
This commit is contained in:
parent
5b943a965f
commit
b36295cbb3
2 changed files with 0 additions and 21 deletions
|
@ -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…
Reference in a new issue