From: <ave...@us...> - 2008-10-05 20:08:25
|
Revision: 5401 http://gemrb.svn.sourceforge.net/gemrb/?rev=5401&view=rev Author: avenger_teambg Date: 2008-10-05 20:08:20 +0000 (Sun, 05 Oct 2008) Log Message: ----------- remove the itemexcl flag when an item is removed from the slot Modified Paths: -------------- gemrb/trunk/gemrb/plugins/Core/Inventory.cpp Modified: gemrb/trunk/gemrb/plugins/Core/Inventory.cpp =================================================================== --- gemrb/trunk/gemrb/plugins/Core/Inventory.cpp 2008-10-05 17:49:26 UTC (rev 5400) +++ gemrb/trunk/gemrb/plugins/Core/Inventory.cpp 2008-10-05 20:08:20 UTC (rev 5401) @@ -316,6 +316,8 @@ } RemoveSlotEffects( index ); Item *itm = core->GetItem(item->ItemResRef); + ItemExcl &= ~itm->ItemExcl; + switch (effect) { case SLOT_EFFECT_LEFT: UpdateShieldAnimation(0); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |