summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sound.cpp3
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());