summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2005-07-02 12:23:18 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2005-07-02 12:23:18 +0000
commit3ff0ca5a474987292735c9b893fdedfbd44d03b9 (patch)
tree6c3744f2028b17a7127c1960ac609972e5036bd9 /src
parent57966d67923562c6d3bb10532c09175e8dddf882 (diff)
downloadmana-client-3ff0ca5a474987292735c9b893fdedfbd44d03b9.tar.gz
mana-client-3ff0ca5a474987292735c9b893fdedfbd44d03b9.tar.bz2
mana-client-3ff0ca5a474987292735c9b893fdedfbd44d03b9.tar.xz
mana-client-3ff0ca5a474987292735c9b893fdedfbd44d03b9.zip
Ok I forgot to remove the debug loggers...
Diffstat (limited to 'src')
-rw-r--r--src/engine.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index 1743bcc1..14c70541 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -271,12 +271,9 @@ void Engine::setCurrentMap(Map *newMap)
std::string oldMusic = "";
if (mCurrentMap) {
oldMusic = mCurrentMap->getProperty("music");
- logger->log("old: %s",oldMusic.c_str());
}
std::string newMusic = newMap->getProperty("music");
- logger->log("new: %s",newMusic.c_str());
if(newMusic!=oldMusic) {
- logger->log("new: %s",newMusic.c_str());
newMusic = std::string(TMW_DATADIR) + "data/music/" + newMusic;
sound.playMusic(newMusic.c_str(), -1);
}