From 4511ba81a400e361e7a24a44341f81a79fc98a34 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 17 Jan 2008 11:18:30 +0000 Subject: Bugfix for logging the description of actions being done svn-id: r30532 --- engines/lure/hotspots.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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) { -- cgit v1.2.3