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

dreammaster at users.sourceforge.net dreammaster at users.sourceforge.net
Fri Dec 21 10:10:32 CET 2007


Revision: 29937
          http://scummvm.svn.sourceforge.net/scummvm/?rev=29937&view=rev
Author:   dreammaster
Date:     2007-12-21 01:10:31 -0800 (Fri, 21 Dec 2007)

Log Message:
-----------
Bugfix to prevent axe animation appearing in room 6 when returning there after the fight

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

Modified: scummvm/trunk/engines/lure/fights.cpp
===================================================================
--- scummvm/trunk/engines/lure/fights.cpp	2007-12-21 08:03:51 UTC (rev 29936)
+++ scummvm/trunk/engines/lure/fights.cpp	2007-12-21 09:10:31 UTC (rev 29937)
@@ -608,6 +608,10 @@
 		HotspotData *axeHotspot = res.getHotspot(0x2738);
 		axeHotspot->roomNumber = PLAYER_ID;
 		axeHotspot->flags |= HOTSPOTFLAG_FOUND;
+
+		// Prevent the weapon animation being drawn
+		axeHotspot = res.getHotspot(0x440);
+		axeHotspot->layer = 0; 
 	}
 }
 


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