* Coins inside boxes are now being counted. (We'll have to decide if we want the...
[supertux.git] / src / object / invisible_block.cpp
index fe17ba6..045e319 100644 (file)
@@ -62,14 +62,13 @@ InvisibleBlock::collision(GameObject& other, const CollisionHit& hit)
 void
 InvisibleBlock::hit(Player& )
 {
-  sound_manager->play("sounds/brick.wav"); 
+  sound_manager->play("sounds/brick.wav");
 
   if(visible)
     return;
 
   sprite->set_action("empty");
   start_bounce();
-  flags |= FLAG_SOLID;
   set_group(COLGROUP_STATIC);
   visible = true;
 }