aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2007-11-18 06:16:58 +0000
committerPaul Gilbert2007-11-18 06:16:58 +0000
commit7b458c96b02e99d57b730876d314d3db02667743 (patch)
tree87becd48a3232dc5807551f33796404bc373dd42 /engines
parent3364e035172e9e0498a683211f446e7b95d57f8c (diff)
downloadscummvm-rg350-7b458c96b02e99d57b730876d314d3db02667743.tar.gz
scummvm-rg350-7b458c96b02e99d57b730876d314d3db02667743.tar.bz2
scummvm-rg350-7b458c96b02e99d57b730876d314d3db02667743.zip
Bugfix to only delay showing a new talk dialog if there isn't one active in the current room
svn-id: r29550
Diffstat (limited to 'engines')
-rw-r--r--engines/lure/hotspots.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lure/hotspots.cpp b/engines/lure/hotspots.cpp
index bc0e424301..91142d077d 100644
--- a/engines/lure/hotspots.cpp
+++ b/engines/lure/hotspots.cpp
@@ -821,7 +821,7 @@ void Hotspot::handleTalkDialog() {
if (_data->talkCountdown == CONVERSE_COUNTDOWN_SIZE) {
// Check if there's already an active dialog - if so, wait until it's finished
- if (room.isDialogActive() && (res.getTalkingCharacter() != _hotspotId)) {
+ if (room.isDialogShowing() && (res.getTalkingCharacter() != _hotspotId)) {
++_data->talkCountdown;
if (delayCtr() > 0)
setDelayCtr(delayCtr() + 2);