Fix pausing sound effects in earlier games.
svn-id: r27150
This commit is contained in:
parent
2fd518ff73
commit
06aa0fb25e
1 changed files with 3 additions and 0 deletions
|
@ -674,6 +674,9 @@ void Sound::ambientPause(bool b) {
|
|||
|
||||
// Elvira 1/2 and Waxworks specific
|
||||
void Sound::playRawData(byte *soundData, uint sound, uint size) {
|
||||
if (_effectsPaused)
|
||||
return;
|
||||
|
||||
byte *buffer = (byte *)malloc(size);
|
||||
memcpy(buffer, soundData, size);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue