From: Jaka K. <lyn...@us...> - 2012-08-22 20:54:01
|
gemrb: Infinity Engine emulator The branch master has been updated via 2b0087c334dea3acec4a67e54aff0ac4227ebddc (commit) Summary of changes: gemrb/GUIScripts/GUICommonWindows.py | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) from eae41cfb17e2ba0ae19ae779e40c4419327610fd (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=2b0087c334dea3acec4a67e54aff0ac4227ebddc commit 2b0087c334dea3acec4a67e54aff0ac4227ebddc Author: Jaka Kranjc <lyn...@us...> Date: Wed Aug 22 22:49:20 2012 +0200 iwd uses the states(1) font for status icons diff --git a/gemrb/GUIScripts/GUICommonWindows.py b/gemrb/GUIScripts/GUICommonWindows.py index a94f431..6700a67 100644 --- a/gemrb/GUIScripts/GUICommonWindows.py +++ b/gemrb/GUIScripts/GUICommonWindows.py @@ -1091,7 +1091,10 @@ def OpenPortraitWindow (needcontrols=0): for i in range (PARTY_SIZE): Button = Window.GetControl (i) - Button.SetFont ("STATES2") + if GUICommon.GameIsIWD1(): + Button.SetFont ("STATES") + else: + Button.SetFont ("STATES2") Button.SetVarAssoc ("PressedPortrait", i+1) if needcontrols or GUICommon.GameIsIWD2(): ----------------------------------------------------------------------- This is an automated email from the git hooks/post-receive script. -- gemrb: Infinity Engine emulator |