projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db47487
)
- fixed duck-jump bug
author
Ingo Ruhnke
<grumbel@gmx.de>
Sat, 24 Apr 2004 12:45:34 +0000
(12:45 +0000)
committer
Ingo Ruhnke
<grumbel@gmx.de>
Sat, 24 Apr 2004 12:45:34 +0000
(12:45 +0000)
SVN-Revision: 680
src/player.cpp
patch
|
blob
|
history
diff --git
a/src/player.cpp
b/src/player.cpp
index
23361f7
..
9f950c8
100644
(file)
--- a/
src/player.cpp
+++ b/
src/player.cpp
@@
-482,7
+482,7
@@
Player::handle_input()
// changing base size confuses collision otherwise
old_base = previous_base = base;
}
- else if(input.down == UP && size == BIG && duck && physic.get_velocity_y() == 0)
+ else if(input.down == UP && size == BIG && duck && physic.get_velocity_y() == 0
&& on_ground()
)
{
duck = false;
base.y -= 32;