Switched from tinygettext/tags/tinygetext-supertux/ to tinygettext/trunk/
[supertux.git] / src / object / floating_image.cpp
index d25ad3d..c7e586a 100644 (file)
 #include "object/floating_image.hpp"
 #include "sprite/sprite.hpp"
 #include "sprite/sprite_manager.hpp"
-#include "supertux/main.hpp"
+#include "supertux/globals.hpp"
 
 FloatingImage::FloatingImage(const std::string& spritefile) :
+  sprite(),
   layer(LAYER_FOREGROUND1 + 1), 
   visible(false), 
   anchor(ANCHOR_MIDDLE), 
+  pos(),
   fading(0), 
   fadetime(0)
 {