From b14da0b02c67a7d1d64a0e9ab46f0af0bdc9ae35 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 10 Jan 2008 21:32:49 +0000 Subject: Fix for debug logging of the current action name svn-id: r30386 --- engines/lure/hotspots.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3