#include <config.h>
#include "willowisp.hpp"
-#include "msg.hpp"
+#include "log.hpp"
#include "game_session.hpp"
static const float FLYSPEED = 64; /**< speed in px per second */
sprite->set_action("idle");
delete soundSource;
- soundSource = sound_manager->create_sound_source("sounds/willowisp.ogg");
+ soundSource = sound_manager->create_sound_source("sounds/willowisp.wav");
if(!soundSource) {
- msg_warning("Couldn't start WillOWisp sound");
+ log_warning << "Couldn't start WillOWisp sound" << std::endl;
return;
}
soundSource->set_position(get_pos());