From: <fu...@us...> - 2009-05-23 15:46:19
|
Revision: 6061 http://gemrb.svn.sourceforge.net/gemrb/?rev=6061&view=rev Author: fuzzie Date: 2009-05-23 15:46:14 +0000 (Sat, 23 May 2009) Log Message: ----------- pass the right actor to CanLevelUp when updating portrait Modified Paths: -------------- gemrb/trunk/gemrb/GUIScripts/bg2/GUICommonWindows.py Modified: gemrb/trunk/gemrb/GUIScripts/bg2/GUICommonWindows.py =================================================================== --- gemrb/trunk/gemrb/GUIScripts/bg2/GUICommonWindows.py 2009-05-23 15:42:40 UTC (rev 6060) +++ gemrb/trunk/gemrb/GUIScripts/bg2/GUICommonWindows.py 2009-05-23 15:46:14 UTC (rev 6061) @@ -638,7 +638,7 @@ for i in range((len(effects)+2)/3): states=states+effects[len(effects)-i*3-3:len(effects)-i*3]+"\n" - if CanLevelUp (pc): + if CanLevelUp (i+1): states = chr(255)+"\n"+states else: states = "\n"+states This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |