projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
commited Ed <icelus2k5@gmail.com>'s coin and block patch
[supertux.git]
/
src
/
object
/
infoblock.cpp
diff --git
a/src/object/infoblock.cpp
b/src/object/infoblock.cpp
index
dda84e6
..
919ef9b
100644
(file)
--- a/
src/object/infoblock.cpp
+++ b/
src/object/infoblock.cpp
@@
-66,9
+66,9
@@
InfoBlock::~InfoBlock()
}
void
-InfoBlock::hit(Player& )
+InfoBlock::hit(Player&
player
)
{
- start_bounce();
+ start_bounce(
player.get_bbox().get_middle().x
);
//if (!stopped) {
// ringing->remove_me();