projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
092556f
)
Fix coverity issues (uninitialized members)
author
Tobias Markus
<tobbi@mozilla-uk.org>
Sun, 1 Mar 2015 19:26:23 +0000
(20:26 +0100)
committer
Tobias Markus
<tobbi@mozilla-uk.org>
Sun, 1 Mar 2015 19:26:23 +0000
(20:26 +0100)
src/badguy/badguy.cpp
patch
|
blob
|
history
diff --git
a/src/badguy/badguy.cpp
b/src/badguy/badguy.cpp
index
ebea262
..
cc0638e
100644
(file)
--- a/
src/badguy/badguy.cpp
+++ b/
src/badguy/badguy.cpp
@@
-70,6
+70,7
@@
BadGuy::BadGuy(const Vector& pos, Direction direction, const std::string& sprite
start_dir(direction),
frozen(false),
ignited(false),
+ in_water(false),
dead_script(),
state(STATE_INIT),
is_active_flag(),
@@
-97,6
+98,7
@@
BadGuy::BadGuy(const Reader& reader, const std::string& sprite_name_, int layer_
start_dir(AUTO),
frozen(false),
ignited(false),
+ in_water(false),
dead_script(),
state(STATE_INIT),
is_active_flag(),