projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
undo'ed Ricardo patch, since it makes small jumps completly impossible instead of...
[supertux.git]
/
src
/
player.cpp
diff --git
a/src/player.cpp
b/src/player.cpp
index
1a0a553
..
afc4eb5
100644
(file)
--- 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);
+ }
}
}