mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
fix cutoff hack workaround
svn-id: r6245
This commit is contained in:
@@ -164,6 +164,12 @@ void Scumm::CHARSET_1()
|
||||
return;
|
||||
|
||||
if (_haveMsg != 0xFF && _haveMsg != 0xFE) {
|
||||
// FIXME: DIG and CMI never set sfxMode or any actor talk data...
|
||||
// This hack will force the backup cutoff system to be used instead,
|
||||
// unless the talkChannel is null (eg, this string has no sound attached)
|
||||
if ((_gameId == GID_CMI || _gameId == GID_DIG) && (_sound->_talkChannel > 0))
|
||||
return;
|
||||
|
||||
if (_sound->_sfxMode == 0)
|
||||
stopTalk();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user