projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed game crashing when leaving the worldmap
[supertux.git]
/
src
/
badguy
/
snail.cpp
diff --git
a/src/badguy/snail.cpp
b/src/badguy/snail.cpp
index
33d1915
..
8533d7d
100644
(file)
--- a/
src/badguy/snail.cpp
+++ b/
src/badguy/snail.cpp
@@
-215,7
+215,7
@@
Snail::collision_squished(GameObject& object)
{
Player* player = dynamic_cast<Player*>(&object);
squishcount++;
- if ((squishcount >= MAXSQUISHES) || (player && player->
butt_
jump)) {
+ if ((squishcount >= MAXSQUISHES) || (player && player->
does_butt
jump)) {
kill_fall();
return true;
}