projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
159575e
)
Commented the set_velocity_y(0). I guess this is better than doing a crappy small...
author
Ricardo Cruz
<rick2@aeiou.pt>
Thu, 29 Apr 2004 18:58:31 +0000
(18:58 +0000)
committer
Ricardo Cruz
<rick2@aeiou.pt>
Thu, 29 Apr 2004 18:58:31 +0000
(18:58 +0000)
SVN-Revision: 850
src/player.cpp
patch
|
blob
|
history
diff --git
a/src/player.cpp
b/src/player.cpp
index
afc4eb5
..
1a0a553
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);
+
//
}
}
}