projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd32137
)
undo'ed Ricardo patch, since it makes small jumps completly impossible instead of...
author
Ingo Ruhnke
<grumbel@gmx.de>
Thu, 29 Apr 2004 19:42:27 +0000
(19:42 +0000)
committer
Ingo Ruhnke
<grumbel@gmx.de>
Thu, 29 Apr 2004 19:42:27 +0000
(19:42 +0000)
SVN-Revision: 851
src/player.cpp
patch
|
blob
|
history
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);
+ }
}
}