From daf2d0cd15008a2fcb8257daafc833c35754490a Mon Sep 17 00:00:00 2001 From: grumbel Date: Sun, 28 Feb 2010 20:39:02 +0000 Subject: [PATCH] Compiler warning fix, init variables to 0 git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6472 837edb03-e0f3-0310-88ca-d4d4e8b29345 --- src/badguy/haywire.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/badguy/haywire.cpp b/src/badguy/haywire.cpp index b07c56924..3e6b7ce5c 100644 --- a/src/badguy/haywire.cpp +++ b/src/badguy/haywire.cpp @@ -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; -- 2.11.0