Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

GUIREC::GetStatOverview: ignore proficiencies with invalid strrefs

reported by hadrian
  • Loading branch information...
commit af534544a142a097b13f3159299ba75ba6e0c591 1 parent 5f14b95
@lynxlynxlynx lynxlynxlynx authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  gemrb/GUIScripts/GUIREC.py
View
3  gemrb/GUIScripts/GUIREC.py
@@ -540,7 +540,8 @@ def GetStatOverview (pc, LevelDiff=[0,0,0]):
stat = table.GetValue (i, 0)
if not offset and not GUICommon.GameIsIWD1(): # TODO: fishy, recheck
stat = stat + IE_PROFICIENCYBASTARDSWORD
- stats.append ( (text, GS (stat)&0x07, '+') )
+ if text < 0x20000:
+ stats.append ( (text, GS (stat)&0x07, '+') )
stats.append (None)
# 11766 AC Bonuses
Please sign in to comment.
Something went wrong with that request. Please try again.