diff --git a/Engine/source/sfx/sfxProfile.cpp b/Engine/source/sfx/sfxProfile.cpp index ab3bc44ab..92c79e9e0 100644 --- a/Engine/source/sfx/sfxProfile.cpp +++ b/Engine/source/sfx/sfxProfile.cpp @@ -284,10 +284,7 @@ bool SFXProfile::_preloadBuffer() Resource& SFXProfile::getResource() { - char buf[1024]; - FileName fullFilename = String(Platform::makeFullPathName(mFilename, buf, sizeof(buf))); - - if (!mResource && SFXResource::exists(fullFilename)) + if (!mResource && SFXResource::exists(mFilename)) mResource = SFXResource::load(mFilename); else mResource = NULL;