undo'ed Ricardo patch, since it makes small jumps completly impossible instead of...
authorIngo Ruhnke <grumbel@gmx.de>
Thu, 29 Apr 2004 19:42:27 +0000 (19:42 +0000)
committerIngo Ruhnke <grumbel@gmx.de>
Thu, 29 Apr 2004 19:42:27 +0000 (19:42 +0000)
SVN-Revision: 851

src/player.cpp

index 1a0a553..afc4eb5 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);
+      }
     }
 }