mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 08:23:15 +00:00
Apply patch 3004991 by fuzzie: don't try and run dialogues for SPEAK zones without dialogue, but run the command list anyway.
svn-id: r49140
This commit is contained in:
parent
1b6d9c86e2
commit
866e15e8b2
@ -337,7 +337,7 @@ DECLARE_COMMAND_OPCODE(speak) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (ACTIONTYPE(ctxt._cmd->_zone) == kZoneSpeak) {
|
||||
if (ACTIONTYPE(ctxt._cmd->_zone) == kZoneSpeak && ctxt._cmd->_zone->u._speakDialogue) {
|
||||
_vm->enterDialogueMode(ctxt._cmd->_zone);
|
||||
} else {
|
||||
_vm->_activeZone = ctxt._cmd->_zone;
|
||||
|
@ -195,7 +195,7 @@ void Parallaction_br::runPendingZones() {
|
||||
if (_activeZone) {
|
||||
z = _activeZone; // speak Zone or sound
|
||||
_activeZone.reset();
|
||||
if (ACTIONTYPE(z) == kZoneSpeak) {
|
||||
if (ACTIONTYPE(z) == kZoneSpeak && z->u._speakDialogue) {
|
||||
enterDialogueMode(z);
|
||||
} else {
|
||||
runZone(z); // FIXME: BRA doesn't handle sound yet
|
||||
@ -205,7 +205,7 @@ void Parallaction_br::runPendingZones() {
|
||||
if (_activeZone2) {
|
||||
z = _activeZone2; // speak Zone or sound
|
||||
_activeZone2.reset();
|
||||
if (ACTIONTYPE(z) == kZoneSpeak) {
|
||||
if (ACTIONTYPE(z) == kZoneSpeak && z->u._speakDialogue) {
|
||||
enterDialogueMode(z);
|
||||
} else {
|
||||
runZone(z); // FIXME: BRA doesn't handle sound yet
|
||||
|
Loading…
x
Reference in New Issue
Block a user