Turned a lot of other global objects into Currentons
[supertux.git] / src / object / infoblock.cpp
index c8ef306..2bbb42f 100644 (file)
@@ -33,7 +33,7 @@ const float HEIGHT = 200;
 }
 
 InfoBlock::InfoBlock(const Reader& lisp) :
-  Block(sprite_manager->create("images/objects/bonus_block/infoblock.sprite")),
+  Block(SpriteManager::current()->create("images/objects/bonus_block/infoblock.sprite")),
   message(),
   shown_pct(0),
   dest_pct(0),