projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcaa489
)
Minor logic change to KamikazeSnowball
author
Mathnerd314
<man.is.allan@gmail.com>
Tue, 23 Mar 2010 22:10:24 +0000
(22:10 +0000)
committer
Mathnerd314
<man.is.allan@gmail.com>
Tue, 23 Mar 2010 22:10:24 +0000
(22:10 +0000)
SVN-Revision: 6624
src/badguy/kamikazesnowball.cpp
patch
|
blob
|
history
diff --git
a/src/badguy/kamikazesnowball.cpp
b/src/badguy/kamikazesnowball.cpp
index
9f67c6b
..
838969f
100644
(file)
--- a/
src/badguy/kamikazesnowball.cpp
+++ b/
src/badguy/kamikazesnowball.cpp
@@
-64,7
+64,8
@@
KamikazeSnowball::collision_solid(const CollisionHit& hit)
{
if(hit.top || hit.bottom) {
physic.set_velocity_y(0);
- } else if(hit.left || hit.right) {
+ }
+ if(hit.left || hit.right) {
kill_collision();
}
}