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

dreammaster at users.sourceforge.net dreammaster at users.sourceforge.net
Sun Apr 1 13:49:05 CEST 2007


Revision: 26338
          http://scummvm.svn.sourceforge.net/scummvm/?rev=26338&view=rev
Author:   dreammaster
Date:     2007-04-01 04:48:54 -0700 (Sun, 01 Apr 2007)

Log Message:
-----------
Bugfix to correctly remove an item from a character's inventory when it is deactivated

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

Modified: scummvm/trunk/engines/lure/scripts.cpp
===================================================================
--- scummvm/trunk/engines/lure/scripts.cpp	2007-04-01 11:47:35 UTC (rev 26337)
+++ scummvm/trunk/engines/lure/scripts.cpp	2007-04-01 11:48:54 UTC (rev 26338)
@@ -112,6 +112,7 @@
 	if (hotspotId < START_NONVISUAL_HOTSPOT_ID) 
 		rsc.deactivateHotspot(hotspotId);
 	HotspotData *hs = rsc.getHotspot(hotspotId);
+	hs->roomNumber = 0xffff;
 	hs->flags |= 0x20;
 	if (hotspotId < START_NONVISUAL_HOTSPOT_ID) 
 		hs->layer = 0xff;


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