summaryrefslogtreecommitdiffstats
path: root/src/object/motion/motionant.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/motionant.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/motionant.cpp')
-rw-r--r--src/object/motion/motionant.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/motion/motionant.cpp b/src/object/motion/motionant.cpp
index 07e743f..3eabc0e 100644
--- a/src/object/motion/motionant.cpp
+++ b/src/object/motion/motionant.cpp
@@ -425,7 +425,7 @@ bool CMotionAnt::EventFrame(const Event &event)
{
Math::Vector dir, pos, speed;
Math::Point dim;
- float s, a, prog, time;
+ float s, a, prog = 0.0f, time;
float tSt[9], tNd[9];
int i, ii, st, nd, action;
bool bStop;