From: Jarda B. <edh...@us...> - 2004-04-26 12:59:30
|
Update of /cvsroot/gemrb/gemrb/gemrb/GUIScripts/pst In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5514/GUIScripts/pst Modified Files: GUICommonWindows.py Log Message: Temporarily reverted portrait selection code for PST Index: GUICommonWindows.py =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/GUIScripts/pst/GUICommonWindows.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** GUICommonWindows.py 15 Apr 2004 16:18:19 -0000 1.7 --- GUICommonWindows.py 26 Apr 2004 12:59:20 -0000 1.8 *************** *** 151,157 **** # which=0: inventory; 1: rec screen def GetActorPortrait (actor, which): ! return GemRB.GetPlayerPortrait( actor, which) ! name = GemRB.GetPlayerName (actor, 1) if name == 'Nameless One': #p = 'NOA' --- 151,157 ---- # which=0: inventory; 1: rec screen def GetActorPortrait (actor, which): ! #return GemRB.GetPlayerPortrait( actor, which) ! name = GemRB.GetPlayerName (actor, 0) if name == 'Nameless One': #p = 'NOA' *************** *** 179,183 **** else: print 'Unknown name:', name ! p = None if which == 0: --- 179,183 ---- else: print 'Unknown name:', name ! return None if which == 0: |