projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6023003
)
Compiler warning fix, init variables to 0
author
Ingo Ruhnke
<grumbel@gmx.de>
Sun, 28 Feb 2010 20:41:02 +0000
(20:41 +0000)
committer
Ingo Ruhnke
<grumbel@gmx.de>
Sun, 28 Feb 2010 20:41:02 +0000
(20:41 +0000)
SVN-Revision: 6473
src/badguy/haywire.cpp
patch
|
blob
|
history
diff --git
a/src/badguy/haywire.cpp
b/src/badguy/haywire.cpp
index
3e6b7ce
..
a99cb3b
100644
(file)
--- 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;