diff options
author | Stefan Dombrowski <stefan@uni-bonn.de> | 2010-09-09 22:11:47 +0200 |
---|---|---|
committer | Stefan Dombrowski <stefan@uni-bonn.de> | 2010-09-09 22:11:47 +0200 |
commit | 7c883da9183238a0f1d75e2e815bc5f689956f14 (patch) | |
tree | e4d5fe941c685580d8726adc907a72d7edf8c526 | |
parent | 173cbf107b35fb191724e5386cf3bcf0106c80ae (diff) | |
download | mana-7c883da9183238a0f1d75e2e815bc5f689956f14.tar.gz mana-7c883da9183238a0f1d75e2e815bc5f689956f14.tar.bz2 mana-7c883da9183238a0f1d75e2e815bc5f689956f14.tar.xz mana-7c883da9183238a0f1d75e2e815bc5f689956f14.zip |
Fixing sound effects
The sound effects did not get played, because the path was wrong.
Reviewed-by: Turmfalke
-rw-r--r-- | src/sound.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sound.cpp b/src/sound.cpp index 241e25e4..d3542a48 100644 --- a/src/sound.cpp +++ b/src/sound.cpp @@ -239,8 +239,7 @@ void Sound::playSfx(const std::string &path) return; ResourceManager *resman = ResourceManager::getInstance(); - SoundEffect *sample = resman->getSoundEffect( - paths.getValue("sfx", "sfx/") + path); + SoundEffect *sample = resman->getSoundEffect(path); if (sample) { logger->log("Sound::playSfx() Playing: %s", path.c_str()); |