From: Marek Moeckel Date: Mon, 4 Apr 2005 15:51:24 +0000 (+0000) Subject: small fix to MrRocket X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=e8ad98fce495724db80d89a14de98815e0b7e877;p=supertux.git small fix to MrRocket added another Tux voice file SVN-Revision: 2330 --- diff --git a/contrib/sounds/tuxbuttjump.wav b/contrib/sounds/tuxbuttjump.wav new file mode 100644 index 000000000..f4c078805 Binary files /dev/null and b/contrib/sounds/tuxbuttjump.wav differ diff --git a/src/badguy/mrrocket.cpp b/src/badguy/mrrocket.cpp index 1c2a95564..035bb64ea 100644 --- a/src/badguy/mrrocket.cpp +++ b/src/badguy/mrrocket.cpp @@ -48,7 +48,7 @@ MrRocket::active_action(float elapsed_time) { if (collision_timer.check()) { Sector::current()->add_object(new RocketExplosion(get_pos(), dir)); - kill_fall(); + remove_me(); } else if (!collision_timer.started()) { movement=physic.get_movement(elapsed_time);