summaryrefslogtreecommitdiffstats
path: root/src/object/motion/motionhuman.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/motion/motionhuman.cpp')
-rw-r--r--src/object/motion/motionhuman.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/object/motion/motionhuman.cpp b/src/object/motion/motionhuman.cpp
index 2349e1e..560a0de 100644
--- a/src/object/motion/motionhuman.cpp
+++ b/src/object/motion/motionhuman.cpp
@@ -710,7 +710,7 @@ bool CMotionHuman::EventFrame(const Event &event)
float tSt[9], tNd[9];
float aa, bb, shield, deadFactor, level;
int i, ii, st, nd, action, legAction, armAction;
- bool bOnBoard, bSwim, bStop;
+ bool bOnBoard, bSwim;
if ( m_engine->GetPause() )
{
@@ -837,7 +837,6 @@ bool CMotionHuman::EventFrame(const Event &event)
m_armTimeSwim += Math::Min(Math::Max(s,a,3.0f),15.0f)*event.rTime*0.05f;
}
- bStop = ( s == 0.0f ); // stop?
prog = 0.0f;
if ( m_physics->GetLand() ) // on the ground?