aboutsummaryrefslogtreecommitdiff
path: root/engines/lure
diff options
context:
space:
mode:
authorPaul Gilbert2008-01-10 21:32:49 +0000
committerPaul Gilbert2008-01-10 21:32:49 +0000
commitb14da0b02c67a7d1d64a0e9ab46f0af0bdc9ae35 (patch)
treea2f1a0fe3a94c375edcc65ee6758d7ff76d8676d /engines/lure
parent89f15fe482503e69742e5c32847de565c2248944 (diff)
downloadscummvm-rg350-b14da0b02c67a7d1d64a0e9ab46f0af0bdc9ae35.tar.gz
scummvm-rg350-b14da0b02c67a7d1d64a0e9ab46f0af0bdc9ae35.tar.bz2
scummvm-rg350-b14da0b02c67a7d1d64a0e9ab46f0af0bdc9ae35.zip
Fix for debug logging of the current action name
svn-id: r30386
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 c2b99c1b7a..30b17bc7ad 100644
--- a/engines/lure/hotspots.cpp
+++ b/engines/lure/hotspots.cpp
@@ -1257,7 +1257,7 @@ void Hotspot::doAction() {
void Hotspot::doAction(Action action, HotspotData *hotspot) {
StringList &stringList = Resources::getReference().stringList();
debugC(ERROR_INTERMEDIATE, kLureDebugHotspots, "Action charId=%xh Action=%d/%s",
- _hotspotId, (int)action, stringList.getString((int)action));
+ _hotspotId, (int)action, (action > EXAMINE) ? NULL : stringList.getString((int)action));
// Set the ACTIVE_HOTSPOT_ID and USE_HOTSPOT_ID fields
if (hotspot != NULL) {