summaryrefslogtreecommitdiffstats
path: root/src/object/motion/motionhuman.cpp
diff options
context:
space:
mode:
authorkrzys-h <krzys_h@interia.pl>2013-05-01 13:19:10 +0200
committerkrzys-h <krzys_h@interia.pl>2013-05-01 13:19:10 +0200
commit9e1870f6bdb24e278c06929b8bd13225a7fdf8d3 (patch)
treee95cb1832a1584ff2e6c5e02941a2d1f80c83bcd /src/object/motion/motionhuman.cpp
parent293376b82d8fa313b17685b73c110a33123f9077 (diff)
downloadcolobot-9e1870f6bdb24e278c06929b8bd13225a7fdf8d3.tar.gz
colobot-9e1870f6bdb24e278c06929b8bd13225a7fdf8d3.tar.bz2
colobot-9e1870f6bdb24e278c06929b8bd13225a7fdf8d3.zip
Removed some warnings
+ fix for previous commit
Diffstat (limited to 'src/object/motion/motionhuman.cpp')
-rw-r--r--src/object/motion/motionhuman.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/motion/motionhuman.cpp b/src/object/motion/motionhuman.cpp
index 76ff353..c469a7e 100644
--- a/src/object/motion/motionhuman.cpp
+++ b/src/object/motion/motionhuman.cpp
@@ -677,7 +677,7 @@ bool CMotionHuman::EventFrame(const Event &event)
float s, a, prog, rTime[2], lTime[2], time, rot, hr, hl;
float al, ar, af;
float tSt[9], tNd[9];
- float aa, bb, shield, deadFactor, level;
+ float aa, bb, shield, deadFactor = 0.0f, level;
int i, ii, st, nd, action, legAction, armAction;
bool bOnBoard, bSwim;