From: Ryan Flegel Date: Sun, 15 Jun 2008 19:27:44 +0000 (+0000) Subject: Disable acceleration in kill_fall(). X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=c75799590ba936c673bea467b65518c3c2c2e284;p=supertux.git Disable acceleration in kill_fall(). SVN-Revision: 5574 --- diff --git a/src/badguy/badguy.cpp b/src/badguy/badguy.cpp index fd3ef266e..16e5331e5 100644 --- a/src/badguy/badguy.cpp +++ b/src/badguy/badguy.cpp @@ -346,6 +346,7 @@ BadGuy::kill_fall() sound_manager->play("sounds/fall.wav", get_pos()); if (countMe) Sector::current()->get_level()->stats.badguys++; physic.set_velocity_y(0); + physic.set_acceleration_y(0); physic.enable_gravity(true); set_state(STATE_FALLING);