projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Tiny fix. Just to make fire or ice Tux to be able to do butt jump, as well.
[supertux.git]
/
src
/
player.cpp
diff --git
a/src/player.cpp
b/src/player.cpp
index
9cbadd1
..
64cd317
100644
(file)
--- a/
src/player.cpp
+++ b/
src/player.cpp
@@
-417,7
+417,7
@@
Player::handle_vertical_input()
physic.set_velocity_y(0);
}
- if (input.down == DOWN && !on_ground() && !duck && size
== BIG
)
+ if (input.down == DOWN && !on_ground() && !duck && size
!= SMALL
)
butt_jump = true;
else if (input.down == UP)
butt_jump = false;