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

dreammaster at users.sourceforge.net dreammaster at users.sourceforge.net
Fri Nov 9 09:21:16 CET 2007


Revision: 29458
          http://scummvm.svn.sourceforge.net/scummvm/?rev=29458&view=rev
Author:   dreammaster
Date:     2007-11-09 00:21:15 -0800 (Fri, 09 Nov 2007)

Log Message:
-----------
Check to prevent Ratpouch saying 'Excuse me' redundantly

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

Modified: scummvm/trunk/engines/lure/res_struct.cpp
===================================================================
--- scummvm/trunk/engines/lure/res_struct.cpp	2007-11-08 23:53:59 UTC (rev 29457)
+++ scummvm/trunk/engines/lure/res_struct.cpp	2007-11-09 08:21:15 UTC (rev 29458)
@@ -1117,7 +1117,8 @@
 			if ((charHotspot->characterMode() == CHARMODE_PAUSED) || 
 				((charHotspot->pauseCtr() == 0) && 
 				(charHotspot->characterMode() == CHARMODE_NONE))) {
-				hotspot->resource()->scriptHotspotId = charId;
+				if (hotspot->characterMode() != CHARMODE_WAIT_FOR_INTERACT)
+					hotspot->resource()->scriptHotspotId = charId;
 			}
 
 			hotspot->setPauseCtr(IDLE_COUNTDOWN_SIZE);


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