fade out console
[supertux.git] / src / object / gradient.cpp
index 4295073..57e530f 100644 (file)
@@ -27,7 +27,7 @@
 #include "object_factory.hpp"
 #include "resources.hpp"
 #include "main.hpp"
-#include "msg.hpp"
+#include "log.hpp"
 
 Gradient::Gradient()
   : layer(LAYER_BACKGROUND0)
@@ -84,10 +84,10 @@ Gradient::set_gradient(Color top, Color bottom)
   
   if (gradient_top.red > 1.0 || gradient_top.green > 1.0
    || gradient_top.blue > 1.0 || gradient_top.alpha > 1.0)
-    msg_warning << "top gradient color has values above 1.0" << std::endl;
+    log_warning << "top gradient color has values above 1.0" << std::endl;
   if (gradient_bottom.red > 1.0 || gradient_bottom.green > 1.0
    || gradient_bottom.blue > 1.0 || gradient_bottom.alpha > 1.0)
-    msg_warning << "bottom gradient color has values above 1.0" << std::endl;
+    log_warning << "bottom gradient color has values above 1.0" << std::endl;
 }
 
 void