Commented the set_velocity_y(0). I guess this is better than doing a crappy small...
authorRicardo Cruz <rick2@aeiou.pt>
Thu, 29 Apr 2004 18:58:31 +0000 (18:58 +0000)
committerRicardo Cruz <rick2@aeiou.pt>
Thu, 29 Apr 2004 18:58:31 +0000 (18:58 +0000)
SVN-Revision: 850

src/player.cpp

index afc4eb5..1a0a553 100644 (file)
@@ -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);
+//      }
     }
 }