mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 15:11:36 -04:00
Avoid some unnecessary indirection
This commit is contained in:
parent
0efce6cd4c
commit
a00a4bce77
@ -221,7 +221,7 @@ namespace MWSound
|
|||||||
{
|
{
|
||||||
DecoderPtr decoder = getDecoder();
|
DecoderPtr decoder = getDecoder();
|
||||||
// Workaround: Bethesda at some point converted some of the files to mp3, but the references were kept as .wav.
|
// 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);
|
decoder->open(voicefile);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user