From: Wolfgang Becker Date: Wed, 12 Jul 2006 12:49:33 +0000 (+0000) Subject: remove fireball when hitting badguy X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=a7efcf0a96084ddacec9e8c96222ededa141f3c6;p=supertux.git remove fireball when hitting badguy SVN-Revision: 3987 --- diff --git a/src/badguy/badguy.cpp b/src/badguy/badguy.cpp index 533a6aeab..bd4913c4c 100644 --- a/src/badguy/badguy.cpp +++ b/src/badguy/badguy.cpp @@ -237,8 +237,9 @@ BadGuy::collision_squished(Player& ) } HitResponse -BadGuy::collision_bullet(Bullet& , const CollisionHit& ) +BadGuy::collision_bullet(Bullet& bullet, const CollisionHit& ) { + bullet.remove_me(); kill_fall(); return ABORT_MOVE; }