more proper checks

svn-id: r16667
This commit is contained in:
Paweł Kołodziejski 2005-01-28 15:04:37 +00:00
parent d25ac7c951
commit 6feb7ae90f

View File

@ -589,9 +589,9 @@ int32 ImuseDigiSndMgr::getDataFromRegion(soundStruct *soundHandle, int region, b
#ifdef USE_VORBIS
if (oggMode)
soundHandle->compressedStream = makeVorbisStream(cmpFile, len);
else
#endif
#ifdef USE_MAD
if (!oggMode)
soundHandle->compressedStream = makeMP3Stream(cmpFile, len);
#endif
assert(soundHandle->compressedStream);