Renamed Rect to Rectf
[supertux.git] / src / object / floating_image.cpp
index c7e586a..0d41354 100644 (file)
@@ -96,7 +96,7 @@ FloatingImage::draw(DrawingContext& context)
     return;
   }
 
-  Vector spos = pos + get_anchor_pos(Rect(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT),
+  Vector spos = pos + get_anchor_pos(Rectf(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT),
                                      sprite->get_width(), sprite->get_height(), anchor);
 
   sprite->draw(context, spos, layer);