X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Finfoblock.cpp;h=1359ddef53279be40a5603bc15e4ffec0b73be38;hb=c94f71a53fc081a0b2a4c8bf87a2fa0830821bcc;hp=919ef9b1a8bb752f712d47c97c2c203688e93f2e;hpb=8a14d4d16329a6ad16fb7e709270a52cc16d1dfb;p=supertux.git diff --git a/src/object/infoblock.cpp b/src/object/infoblock.cpp index 919ef9b1a..1359ddef5 100644 --- 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();