From f6ae77d4d5728dbee51d107653d4775587e46f54 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 21 Jun 2017 22:54:50 +0300 Subject: Remove extra "sfx/" in sound files path and assert about this. --- src/resources/iteminfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/iteminfo.cpp') diff --git a/src/resources/iteminfo.cpp b/src/resources/iteminfo.cpp index 7218f2cc8..8a142ec4d 100644 --- a/src/resources/iteminfo.cpp +++ b/src/resources/iteminfo.cpp @@ -152,7 +152,7 @@ void ItemInfo::addSound(const ItemSoundEvent::Type event, const std::string &filename, const int delay) { mSounds[event].push_back(SoundInfo( - pathJoin(paths.getStringValue("sfx"), filename), + filename, delay)); } -- cgit v1.2.3-60-g2f50