projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Russian translation update from Constantin Baranov... from December.
[supertux.git]
/
src
/
badguy
/
snowball.cpp
diff --git
a/src/badguy/snowball.cpp
b/src/badguy/snowball.cpp
index
2876357
..
8e690cb
100644
(file)
--- a/
src/badguy/snowball.cpp
+++ b/
src/badguy/snowball.cpp
@@
-42,10
+42,10
@@
SnowBall::write(lisp::Writer& writer)
}
bool
-SnowBall::collision_squished(
Player& player
)
+SnowBall::collision_squished(
GameObject& object
)
{
sprite->set_action(dir == LEFT ? "squished-left" : "squished-right");
- kill_squished(
player
);
+ kill_squished(
object
);
return true;
}