summaryrefslogtreecommitdiff
path: root/src/soundmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/soundmanager.cpp')
-rw-r--r--src/soundmanager.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/soundmanager.cpp b/src/soundmanager.cpp
index 5342f82d1..be3750b47 100644
--- a/src/soundmanager.cpp
+++ b/src/soundmanager.cpp
@@ -454,9 +454,14 @@ void SoundManager::playSfx(const std::string &path,
std::string tmpPath;
if (!path.compare(0, 4, "sfx/"))
+ {
tmpPath = path;
+ reportAlways("Sfx sound with sfx/ in path. Please remove sfx/");
+ }
else
+ {
tmpPath = paths.getValue("sfx", "sfx/").append(path);
+ }
SoundEffect *const sample = Loader::getSoundEffect(tmpPath);
if (sample)
{