Unified Messaging Subsystem
[supertux.git] / src / badguy / badguy.cpp
index c364556..85d2895 100644 (file)
@@ -25,6 +25,7 @@
 #include "tile.hpp"
 #include "statistics.hpp"
 #include "game_session.hpp"
+#include "msg.hpp"
 
 static const float SQUISH_TIME = 2;
 static const float X_OFFSCREEN_DISTANCE = 1600;
@@ -104,7 +105,7 @@ BadGuy::deactivate()
 void
 BadGuy::save(lisp::Writer& )
 {
-       std::cout << "Warning: tried to write out a generic badguy." << std::endl;
+       msg_warning("tried to write out a generic badguy");
 }
 
 void