projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ad7288
)
Just a small fix to prevent Tux from butt-jumping when ducked.
author
Marek Moeckel
<wansti@gmx.de>
Mon, 7 Jun 2004 15:13:52 +0000
(15:13 +0000)
committer
Marek Moeckel
<wansti@gmx.de>
Mon, 7 Jun 2004 15:13:52 +0000
(15:13 +0000)
SVN-Revision: 1418
src/player.cpp
patch
|
blob
|
history
diff --git
a/src/player.cpp
b/src/player.cpp
index
b3ecd98
..
d5f6121
100644
(file)
--- a/
src/player.cpp
+++ b/
src/player.cpp
@@
-496,7
+496,7
@@
Player::handle_vertical_input()
/* In case the player has pressed Down while in a certain range of air,
enable butt jump action */
- if (input.down == DOWN && !butt_jump)
+ if (input.down == DOWN && !butt_jump
&& !duck
)
if(tiles_on_air(TILES_FOR_BUTTJUMP) && jumping)
butt_jump = true;