projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Made buttjump a bit easier to perform
[supertux.git]
/
src
/
object
/
block.cpp
diff --git
a/src/object/block.cpp
b/src/object/block.cpp
index
4cf7920
..
bb309f0
100644
(file)
--- a/
src/object/block.cpp
+++ b/
src/object/block.cpp
@@
-356,7
+356,7
@@
Brick::collision(GameObject& other, const CollisionHit& hit){
Player* player = dynamic_cast<Player*> (&other);
if (player) {
- if (player->
butt_
jump) try_break();
+ if (player->
does_butt
jump) try_break();
}
BadGuy* badguy = dynamic_cast<BadGuy*> (&other);