summaryrefslogtreecommitdiff
path: root/src/sound.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2008-02-18 08:52:06 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2008-02-18 08:52:06 +0000
commit7e1188fd2322827d818560570cbc227d03225e59 (patch)
tree3591dfeb56265ad5eafd85ffdea3f325eeffc3f3 /src/sound.cpp
parent0ce528a09834b2f70ac923b22fd9def4378c5ccc (diff)
downloadmana-7e1188fd2322827d818560570cbc227d03225e59.tar.gz
mana-7e1188fd2322827d818560570cbc227d03225e59.tar.bz2
mana-7e1188fd2322827d818560570cbc227d03225e59.tar.xz
mana-7e1188fd2322827d818560570cbc227d03225e59.zip
Fixed image name.
Diffstat (limited to 'src/sound.cpp')
-rw-r--r--src/sound.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sound.cpp b/src/sound.cpp
index 063195ae..b87a550f 100644
--- a/src/sound.cpp
+++ b/src/sound.cpp
@@ -145,7 +145,8 @@ void Sound::playMusic(const std::string &filename, int loop)
Mix_PlayMusic(mMusic, loop);
}
else {
- logger->log("Sound::startMusic() Warning: error loading file.");
+ logger->log("Sound::startMusic() Warning: error loading file: ",
+ Mix_GetError());
}
}