From b36295cbb3b87d45c78bcc8893da4eef25525d44 Mon Sep 17 00:00:00 2001
From: scrawl <scrawl@baseoftrash.de>
Date: Thu, 14 Mar 2013 21:10:22 +0100
Subject: [PATCH] Removed a leftover

---
 apps/openmw/mwclass/npc.cpp | 18 ------------------
 apps/openmw/mwclass/npc.hpp |  3 ---
 2 files changed, 21 deletions(-)

diff --git a/apps/openmw/mwclass/npc.cpp b/apps/openmw/mwclass/npc.cpp
index 77b53ff1d..d4e5e5cd6 100644
--- a/apps/openmw/mwclass/npc.cpp
+++ b/apps/openmw/mwclass/npc.cpp
@@ -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();
diff --git a/apps/openmw/mwclass/npc.hpp b/apps/openmw/mwclass/npc.hpp
index bd624bd37..51e93636d 100644
--- a/apps/openmw/mwclass/npc.hpp
+++ b/apps/openmw/mwclass/npc.hpp
@@ -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.