From: Wolfgang Becker Date: Thu, 17 Aug 2006 17:45:28 +0000 (+0000) Subject: Tron's patch for touching practically anything (coins, bells, doors) slows you down X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=1a0a47d8ce7ed7e1576449572efec8b3ea95e82d;p=supertux.git Tron's patch for touching practically anything (coins, bells, doors) slows you down SVN-Revision: 4194 --- diff --git a/src/object/player.cpp b/src/object/player.cpp index 12d440a12..ccecefb30 100644 --- a/src/object/player.cpp +++ b/src/object/player.cpp @@ -987,7 +987,6 @@ Player::collision(GameObject& other, const CollisionHit& hit) } if(hit.left || hit.right) { - physic.set_velocity_x(0); try_grab(); //grab objects right now, in update it will be too late } #ifdef DEBUG