aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2007-12-28 07:46:21 +0000
committerPaul Gilbert2007-12-28 07:46:21 +0000
commitae06d5337e80503d25c58cd9475bd8a45a87f48d (patch)
treeeb91b76dc2d6ef70ed2e807f891af2be9b07ecb8 /engines
parent67a49e712a4b3df9c6373174c20dfcc6308935e6 (diff)
downloadscummvm-rg350-ae06d5337e80503d25c58cd9475bd8a45a87f48d.tar.gz
scummvm-rg350-ae06d5337e80503d25c58cd9475bd8a45a87f48d.tar.bz2
scummvm-rg350-ae06d5337e80503d25c58cd9475bd8a45a87f48d.zip
Bugfix to correctly display a message when a used item is no longer in the room
svn-id: r30037
Diffstat (limited to 'engines')
-rw-r--r--engines/lure/hotspots.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/lure/hotspots.cpp b/engines/lure/hotspots.cpp
index 7b5ec7bccd..c1d4b1f53e 100644
--- a/engines/lure/hotspots.cpp
+++ b/engines/lure/hotspots.cpp
@@ -938,9 +938,9 @@ HotspotPrecheckResult Hotspot::actionPrecheck(HotspotData *hotspot) {
if (getBarPlace() == BP_KEEP_TRYING)
return PC_WAIT;
} else if (hotspot->roomNumber != roomNumber()) {
- // loc_884
- if (actionCtr() == 0)
- converse(NOONE_ID, 0);
+ // Object is not in the same room
+ if (actionCtr() == 0)
+ showMessage(0, hotspot->hotspotId);
setActionCtr(0);
return PC_NOT_IN_ROOM;
} else if (actionCtr() != 0) {