Added separate function for playing cutscene lead-in/out sounds, and made sure

that these are stopped whenever the engine is going to do a mass killing of
game resources, e.g. when restoring or restarting the game. Should fix bug
#1645480. (This was a regression added during the rewrite to support DXA.)

svn-id: r25204
This commit is contained in:
Torbjörn Andersson 2007-01-26 18:21:41 +00:00
parent 7165d42c70
commit d2910fe758
9 changed files with 64 additions and 34 deletions

View file

@ -2333,7 +2333,7 @@ int32 Logic::fnSmackerLeadOut(int32 *params) {
int32 Logic::fnStopAllFx(int32 *params) {
// params: none
_vm->_sound->clearFxQueue();
_vm->_sound->clearFxQueue(false);
return IR_CONT;
}