fade out console
[supertux.git] / src / audio / sound_file.cpp
index bcd6e3e..a05fc1a 100644 (file)
@@ -12,7 +12,7 @@
 #include <physfs.h>
 #include <vorbis/codec.h>
 #include <vorbis/vorbisfile.h>
-#include "msg.hpp"
+#include "log.hpp"
 
 class WavSoundFile : public SoundFile
 {
@@ -55,7 +55,7 @@ WavSoundFile::WavSoundFile(PHYSFS_file* file)
   if(PHYSFS_read(file, magic, sizeof(magic), 1) != 1)
     throw std::runtime_error("Couldn't read file magic (not a wave file)");
   if(strncmp(magic, "RIFF", 4) != 0) {
-    msg_debug << "MAGIC: " << magic << std::endl;
+    log_debug << "MAGIC: " << magic << std::endl;
     throw std::runtime_error("file is not a RIFF wav file");
   }