diff options
author | David Athay <ko2fan@gmail.com> | 2008-01-13 16:28:50 +0000 |
---|---|---|
committer | David Athay <ko2fan@gmail.com> | 2008-01-13 16:28:50 +0000 |
commit | 3bf3c05f1b999914875d5fb0797c4c9ca098ede0 (patch) | |
tree | 8bb49e7960cd27e0343c65ae43d646e52f566f71 /src/engine.cpp | |
parent | 2928c5444892538f0153b5dd6e39d9a4bff5585d (diff) | |
download | mana-3bf3c05f1b999914875d5fb0797c4c9ca098ede0.tar.gz mana-3bf3c05f1b999914875d5fb0797c4c9ca098ede0.tar.bz2 mana-3bf3c05f1b999914875d5fb0797c4c9ca098ede0.tar.xz mana-3bf3c05f1b999914875d5fb0797c4c9ca098ede0.zip |
Fixed non-default location music loading
Diffstat (limited to 'src/engine.cpp')
-rw-r--r-- | src/engine.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/engine.cpp b/src/engine.cpp index 49ffbbfc..d84b8e00 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -116,8 +116,7 @@ void Engine::changeMap(const std::string &mapPath) std::string newMusic = newMap->getProperty("music"); if (newMusic != oldMusic) { - newMusic = std::string(TMW_DATADIR) + "data/music/" + newMusic; - sound.playMusic(newMusic.c_str(), -1); + sound.playMusic(newMusic, -1); } mCurrentMap = newMap; |