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

dreammaster at users.sourceforge.net dreammaster at users.sourceforge.net
Sat Jan 9 10:27:40 CET 2010


Revision: 47197
          http://scummvm.svn.sourceforge.net/scummvm/?rev=47197&view=rev
Author:   dreammaster
Date:     2010-01-09 09:27:40 +0000 (Sat, 09 Jan 2010)

Log Message:
-----------
Fix for a rare case where the NPC handler for Ewan the shopkeeper can cause an assert when you rejoin Goewin in the Weregate caves.

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

Modified: scummvm/trunk/engines/lure/hotspots.cpp
===================================================================
--- scummvm/trunk/engines/lure/hotspots.cpp	2010-01-09 06:36:28 UTC (rev 47196)
+++ scummvm/trunk/engines/lure/hotspots.cpp	2010-01-09 09:27:40 UTC (rev 47197)
@@ -3810,6 +3810,7 @@
 					HotspotData *wayne = res.getHotspot(WAYNE_ID);
 
 					if ((player->roomNumber != 35) && (gwyn->roomNumber != 35) && (wayne->roomNumber != 35)) {
+						h.setAnimationIndex(EWAN_ANIM_INDEX);
 						if (rnd.getRandomNumber(1) == 1)
 							id = BG_EXTRA1 << 8;
 						else {


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