aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2007-11-09 08:21:15 +0000
committerPaul Gilbert2007-11-09 08:21:15 +0000
commit25d22b2b42dbae61c7b951b2633e5e664c4b8000 (patch)
tree101ce001ae0695d13a33556b21c9e6aa2a6ae115 /engines
parent870ec35291fea0161e6ff9fe8f51a35dd0111384 (diff)
downloadscummvm-rg350-25d22b2b42dbae61c7b951b2633e5e664c4b8000.tar.gz
scummvm-rg350-25d22b2b42dbae61c7b951b2633e5e664c4b8000.tar.bz2
scummvm-rg350-25d22b2b42dbae61c7b951b2633e5e664c4b8000.zip
Check to prevent Ratpouch saying 'Excuse me' redundantly
svn-id: r29458
Diffstat (limited to 'engines')
-rw-r--r--engines/lure/res_struct.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/lure/res_struct.cpp b/engines/lure/res_struct.cpp
index d16ff22caa..6dd121e90e 100644
--- a/engines/lure/res_struct.cpp
+++ b/engines/lure/res_struct.cpp
@@ -1117,7 +1117,8 @@ int PausedCharacterList::check(uint16 charId, int numImpinging, uint16 *impingin
if ((charHotspot->characterMode() == CHARMODE_PAUSED) ||
((charHotspot->pauseCtr() == 0) &&
(charHotspot->characterMode() == CHARMODE_NONE))) {
- hotspot->resource()->scriptHotspotId = charId;
+ if (hotspot->characterMode() != CHARMODE_WAIT_FOR_INTERACT)
+ hotspot->resource()->scriptHotspotId = charId;
}
hotspot->setPauseCtr(IDLE_COUNTDOWN_SIZE);