Compiler warning fix, init variables to 0
authorIngo Ruhnke <grumbel@gmx.de>
Sun, 28 Feb 2010 20:39:02 +0000 (20:39 +0000)
committerIngo Ruhnke <grumbel@gmx.de>
Sun, 28 Feb 2010 20:39:02 +0000 (20:39 +0000)
SVN-Revision: 6472

src/badguy/haywire.cpp

index b07c569..3e6b7ce 100644 (file)
@@ -32,7 +32,9 @@
 Haywire::Haywire(const Reader& reader) :
   WalkingBadguy(reader, "images/creatures/haywire/haywire.sprite", "left", "right"),
   is_exploding(false),
-  is_stunned(false)
+  time_until_explosion(0.0f),
+  is_stunned(false),
+  time_stunned(0.0f)
 {
   walk_speed = 80;
   max_drop_height = 16;