projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed crash when using Mr. Iceblock to break a brick
[supertux.git]
/
src
/
object
/
infoblock.cpp
diff --git
a/src/object/infoblock.cpp
b/src/object/infoblock.cpp
index
919ef9b
..
1359dde
100644
(file)
--- a/
src/object/infoblock.cpp
+++ b/
src/object/infoblock.cpp
@@
-68,7
+68,7
@@
InfoBlock::~InfoBlock()
void
InfoBlock::hit(Player& player)
{
- start_bounce(
player.get_bbox().get_middle().x
);
+ start_bounce(
&player
);
//if (!stopped) {
// ringing->remove_me();