From dd3213761360650d667da3bb045f88a77d5274ab Mon Sep 17 00:00:00 2001 From: Ricardo Cruz Date: Thu, 29 Apr 2004 18:58:31 +0000 Subject: [PATCH] Commented the set_velocity_y(0). I guess this is better than doing a crappy small jump. SVN-Revision: 850 --- src/player.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/player.cpp b/src/player.cpp index afc4eb5e0..1a0a55300 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -392,9 +392,9 @@ Player::handle_vertical_input() else if(input.up == UP && jumping) { jumping = false; - if(physic.get_velocity_y() > 0) { - physic.set_velocity_y(0); - } +// if(physic.get_velocity_y() > 0) { +// physic.set_velocity_y(0); +// } } } -- 2.11.0