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/beinginfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/beinginfo.cpp') diff --git a/src/resources/beinginfo.cpp b/src/resources/beinginfo.cpp index 5c10d5ae3..4093a95b8 100644 --- a/src/resources/beinginfo.cpp +++ b/src/resources/beinginfo.cpp @@ -149,7 +149,7 @@ void BeingInfo::addSound(const ItemSoundEvent::Type event, mSounds[event] = new SoundInfoVect; if (mSounds[event] != nullptr) - mSounds[event]->push_back(SoundInfo("sfx/" + filename, delay)); + mSounds[event]->push_back(SoundInfo(filename, delay)); } const SoundInfo &BeingInfo::getSound(const ItemSoundEvent::Type event) const -- cgit v1.2.3-70-g09d2