diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-21 22:54:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-21 22:54:50 +0300 |
commit | f6ae77d4d5728dbee51d107653d4775587e46f54 (patch) | |
tree | dea7d10239064d82e73cd7df6b616e52bc44685e /src/resources/iteminfo.cpp | |
parent | b5c71a87d2a0c2c6981331d5958b474162934532 (diff) | |
download | manaplus-f6ae77d4d5728dbee51d107653d4775587e46f54.tar.gz manaplus-f6ae77d4d5728dbee51d107653d4775587e46f54.tar.bz2 manaplus-f6ae77d4d5728dbee51d107653d4775587e46f54.tar.xz manaplus-f6ae77d4d5728dbee51d107653d4775587e46f54.zip |
Remove extra "sfx/" in sound files path and assert about this.
Diffstat (limited to 'src/resources/iteminfo.cpp')
-rw-r--r-- | src/resources/iteminfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)); } |