From: Ingo Ruhnke Date: Sun, 28 Feb 2010 20:41:02 +0000 (+0000) Subject: Compiler warning fix, init variables to 0 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=9fffdbce9180b050176ecd6a7114cd0f190ab3a5;p=supertux.git Compiler warning fix, init variables to 0 SVN-Revision: 6473 --- diff --git a/src/badguy/haywire.cpp b/src/badguy/haywire.cpp index 3e6b7ce5c..a99cb3b20 100644 --- a/src/badguy/haywire.cpp +++ b/src/badguy/haywire.cpp @@ -58,7 +58,9 @@ Haywire::Haywire(const Reader& reader) : Haywire::Haywire(const Vector& pos, Direction d) : WalkingBadguy(pos, d, "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;