Skip to content

Commit

Permalink
Minor logic change to KamikazeSnowball
Browse files Browse the repository at this point in the history
SVN-Revision: 6624
  • Loading branch information
Mathnerd314 committed Mar 23, 2010
1 parent dcaa489 commit 99afe85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/badguy/kamikazesnowball.cpp
Expand Up @@ -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();
}
}
Expand Down

0 comments on commit 99afe85

Please sign in to comment.