From 99afe85eeb29c5366525df392910b92ed69d8ad6 Mon Sep 17 00:00:00 2001 From: Mathnerd314 Date: Tue, 23 Mar 2010 22:10:24 +0000 Subject: [PATCH] Minor logic change to KamikazeSnowball SVN-Revision: 6624 --- src/badguy/kamikazesnowball.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/badguy/kamikazesnowball.cpp b/src/badguy/kamikazesnowball.cpp index 9f67c6b33..838969fd1 100644 --- 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(); } } -- 2.11.0