From c75799590ba936c673bea467b65518c3c2c2e284 Mon Sep 17 00:00:00 2001 From: Ryan Flegel Date: Sun, 15 Jun 2008 19:27:44 +0000 Subject: [PATCH] Disable acceleration in kill_fall(). SVN-Revision: 5574 --- src/badguy/badguy.cpp | 1 + 1 file changed, 1 insertion(+) 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); -- 2.11.0