From: <ave...@us...> - 2009-07-19 05:44:00
|
Revision: 6741 http://gemrb.svn.sourceforge.net/gemrb/?rev=6741&view=rev Author: avenger_teambg Date: 2009-07-19 05:43:49 +0000 (Sun, 19 Jul 2009) Log Message: ----------- iwd2:fixed guiscript to display use item icons/spells correctly Modified Paths: -------------- gemrb/trunk/gemrb/GUIScripts/iwd2/GUICommonWindows.py Modified: gemrb/trunk/gemrb/GUIScripts/iwd2/GUICommonWindows.py =================================================================== --- gemrb/trunk/gemrb/GUIScripts/iwd2/GUICommonWindows.py 2009-07-18 19:26:16 UTC (rev 6740) +++ gemrb/trunk/gemrb/GUIScripts/iwd2/GUICommonWindows.py 2009-07-19 05:43:49 UTC (rev 6741) @@ -212,13 +212,13 @@ if level == 0: PortraitWindow.SetupControls (pc, 6) elif level == 1: - PortraitWindow.SetupEquipmentIcons (pc, TopIndex) + PortraitWindow.SetupEquipmentIcons (pc, TopIndex, 6) elif level == 2: #spells GemRB.SetVar ("Type", 3) - PortraitWindow.SetupSpellIcons (pc, 3, TopIndex) + PortraitWindow.SetupSpellIcons (pc, 3, TopIndex, 6) elif level == 3: #innates GemRB.SetVar ("Type", 4) - PortraitWindow.SetupSpellIcons (pc, 4, TopIndex) + PortraitWindow.SetupSpellIcons (pc, 4, TopIndex, 6) return def OpenFloatMenuWindow (): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |