SAGA: Fix audio flags for VOC sounds

This is a regression from r43470 and fixes the speech in the intro.
Bug #3065113.

svn-id: r52727
This commit is contained in:
Willem Jan Palenstijn 2010-09-14 22:16:31 +00:00
parent f742d2ecc5
commit c81f009e8f

View File

@ -331,6 +331,8 @@ bool SndRes::load(ResourceContext *context, uint32 resourceId, SoundBuffer &buff
if (onlyHeader)
free(data);
buffer.flags |= Audio::FLAG_UNSIGNED;
buffer.flags &= ~Audio::FLAG_16BITS;
buffer.flags &= ~Audio::FLAG_STEREO;
}
if (result) {