[Scummvm-cvs-logs] SF.net SVN: scummvm: [30386] scummvm/trunk/engines/lure/hotspots.cpp
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Thu Jan 10 22:32:49 CET 2008
Revision: 30386
http://scummvm.svn.sourceforge.net/scummvm/?rev=30386&view=rev
Author: dreammaster
Date: 2008-01-10 13:32:49 -0800 (Thu, 10 Jan 2008)
Log Message:
-----------
Fix for debug logging of the current action name
Modified Paths:
--------------
scummvm/trunk/engines/lure/hotspots.cpp
Modified: scummvm/trunk/engines/lure/hotspots.cpp
===================================================================
--- scummvm/trunk/engines/lure/hotspots.cpp 2008-01-10 21:29:42 UTC (rev 30385)
+++ scummvm/trunk/engines/lure/hotspots.cpp 2008-01-10 21:32:49 UTC (rev 30386)
@@ -1257,7 +1257,7 @@
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) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list