From: Ricardo Cruz Date: Thu, 29 Apr 2004 18:58:31 +0000 (+0000) Subject: Commented the set_velocity_y(0). I guess this is better than doing a crappy small... X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=dd3213761360650d667da3bb045f88a77d5274ab;p=supertux.git Commented the set_velocity_y(0). I guess this is better than doing a crappy small jump. SVN-Revision: 850 --- 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); +// } } }