aboutsummaryrefslogtreecommitdiff
path: root/engines/lure
diff options
context:
space:
mode:
authorPaul Gilbert2008-01-17 11:18:30 +0000
committerPaul Gilbert2008-01-17 11:18:30 +0000
commit4511ba81a400e361e7a24a44341f81a79fc98a34 (patch)
treeac57e7394613d147f9fbb64ebb2cc99a64e2fce1 /engines/lure
parent5a2440ce1b487dc896cd60d76871f40236d22687 (diff)
downloadscummvm-rg350-4511ba81a400e361e7a24a44341f81a79fc98a34.tar.gz
scummvm-rg350-4511ba81a400e361e7a24a44341f81a79fc98a34.tar.bz2
scummvm-rg350-4511ba81a400e361e7a24a44341f81a79fc98a34.zip
Bugfix for logging the description of actions being done
svn-id: r30532
Diffstat (limited to 'engines/lure')
-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 44157e45ab..b04df3a248 100644
--- a/engines/lure/hotspots.cpp
+++ b/engines/lure/hotspots.cpp
@@ -1316,7 +1316,7 @@ void Hotspot::doAction(Action action, HotspotData *hotspot) {
(this->*actionProcList[action])(hotspot);
debugC(ERROR_DETAILED, kLureDebugHotspots, "Action charId=%xh Action=%d/%s Complete",
- _hotspotId, (int)action, stringList.getString((int)action));
+ _hotspotId, (int)action, (action > EXAMINE) ? NULL : stringList.getString((int)action));
}
void Hotspot::doNothing(HotspotData *hotspot) {