-Some cleanups in text scrolling code
[supertux.git] / src / object / invisible_block.cpp
index f9e2748..f8e8644 100644 (file)
@@ -8,8 +8,9 @@
 #include "object_factory.h"
 
 InvisibleBlock::InvisibleBlock(const Vector& pos)
-  : Block(pos, sprite_manager->create("invisibleblock")), visible(false)
+  : Block(sprite_manager->create("invisibleblock")), visible(false)
 {
+  bbox.set_pos(pos);
   flags &= ~FLAG_SOLID;
 }