From: Jaka K. <lyn...@us...> - 2012-04-06 20:33:57
|
gemrb: Infinity Engine emulator The branch master has been updated via 9190caabc8b3a2e327ed3a8e699a1f32838af37f (commit) Summary of changes: gemrb/GUIScripts/GUIRECCommon.py | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) from 0c9498da43bfd1adfdbbd6c94997caa83e5c2470 (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=9190caabc8b3a2e327ed3a8e699a1f32838af37f commit 9190caabc8b3a2e327ed3a8e699a1f32838af37f Author: Jaka Kranjc <lyn...@us...> Date: Fri Apr 6 22:30:27 2012 +0200 iwd2 has the bio at a different offset diff --git a/gemrb/GUIScripts/GUIRECCommon.py b/gemrb/GUIScripts/GUIRECCommon.py index a9f0942..153e4a3 100644 --- a/gemrb/GUIScripts/GUIRECCommon.py +++ b/gemrb/GUIScripts/GUIRECCommon.py @@ -531,7 +531,10 @@ def OpenBiographyWindow (): TextArea = Window.GetControl (0) pc = GemRB.GameGetSelectedPCSingle () - TextArea.SetText (GemRB.GetPlayerString (pc, 74) ) + if GUICommon.GameIsIWD2(): + TextArea.SetText (GemRB.GetPlayerString (pc, 63) ) + else: + TextArea.SetText (GemRB.GetPlayerString (pc, 74) ) # Done Button = Window.GetControl (2) ----------------------------------------------------------------------- This is an automated email from the git hooks/post-receive script. -- gemrb: Infinity Engine emulator |