From: Laszlo T. <ave...@us...> - 2006-07-19 18:22:51
|
Update of /cvsroot/gemrb/gemrb/gemrb/GUIScripts/tob In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv30816/tob Modified Files: GUIINV.py Log Message: highlight equipped weapon in bg2/tob Index: GUIINV.py =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/GUIScripts/tob/GUIINV.py,v retrieving revision 1.43 retrieving revision 1.44 diff -C2 -d -r1.43 -r1.44 *** GUIINV.py 19 Jul 2006 17:44:10 -0000 1.43 --- GUIINV.py 19 Jul 2006 18:22:48 -0000 1.44 *************** *** 409,412 **** --- 409,416 ---- else: GemRB.SetButtonState (Window, Button, IE_GUI_BUTTON_ENABLED) + + if slot_item and (GemRB.GetEquippedQuickSlot (pc)==slot+1): + GemRB.SetButtonState (Window, Button, IE_GUI_BUTTON_PRESSED) + return |