projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow dead-script on any badguy
[supertux.git]
/
src
/
badguy
/
bouncing_snowball.cpp
diff --git
a/src/badguy/bouncing_snowball.cpp
b/src/badguy/bouncing_snowball.cpp
index
72d1acf
..
f84561b
100644
(file)
--- a/
src/badguy/bouncing_snowball.cpp
+++ b/
src/badguy/bouncing_snowball.cpp
@@
-53,10
+53,10
@@
BouncingSnowball::activate()
}
bool
-BouncingSnowball::collision_squished(
Player& player
)
+BouncingSnowball::collision_squished(
GameObject& object
)
{
sprite->set_action("squished");
- kill_squished(
player
);
+ kill_squished(
object
);
return true;
}