commited Ed <icelus2k5@gmail.com>'s coin and block patch
[supertux.git] / src / object / infoblock.cpp
index dda84e6..919ef9b 100644 (file)
@@ -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();