[Scummvm-cvs-logs] SF.net SVN: scummvm: [30532] scummvm/trunk/engines/lure/hotspots.cpp

dreammaster at users.sourceforge.net dreammaster at users.sourceforge.net
Thu Jan 17 12:18:30 CET 2008


Revision: 30532
          http://scummvm.svn.sourceforge.net/scummvm/?rev=30532&view=rev
Author:   dreammaster
Date:     2008-01-17 03:18:30 -0800 (Thu, 17 Jan 2008)

Log Message:
-----------
Bugfix for logging the description of actions being done

Modified Paths:
--------------
    scummvm/trunk/engines/lure/hotspots.cpp

Modified: scummvm/trunk/engines/lure/hotspots.cpp
===================================================================
--- scummvm/trunk/engines/lure/hotspots.cpp	2008-01-17 11:16:00 UTC (rev 30531)
+++ scummvm/trunk/engines/lure/hotspots.cpp	2008-01-17 11:18:30 UTC (rev 30532)
@@ -1316,7 +1316,7 @@
 
 	(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) {


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