1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-20 15:40:32 +00:00

Avoid some unnecessary indirection

This commit is contained in:
Chris Robinson 2015-12-10 15:37:39 -08:00
parent 0efce6cd4c
commit a00a4bce77

View File

@ -221,7 +221,7 @@ namespace MWSound
{
DecoderPtr decoder = getDecoder();
// Workaround: Bethesda at some point converted some of the files to mp3, but the references were kept as .wav.
if(decoder->mResourceMgr->exists(voicefile))
if(mVFS->exists(voicefile))
decoder->open(voicefile);
else
{