comparison Player.cpp @ 983:1462a5f12b65

Character Skills tab drawing fixed.
author Nomad
date Sat, 11 May 2013 17:00:43 +0200
parents a6ef7125f6e4
children 087a9af8e0ec
comparison
equal deleted inserted replaced
982:08fd1436ef35 983:1462a5f12b65
2165 int v5; // edi@1 2165 int v5; // edi@1
2166 int v7; // eax@5 2166 int v7; // eax@5
2167 signed int v8; // [sp-4h] [bp-10h]@4 2167 signed int v8; // [sp-4h] [bp-10h]@4
2168 2168
2169 v1 = this; 2169 v1 = this;
2170 LOBYTE(v2) = GetActualSkillLevel(PLAYER_SKILL_PERCEPTION); 2170 v2 = (char)GetActualSkillLevel(PLAYER_SKILL_PERCEPTION);
2171 v3 = v1->pActiveSkills[26]; 2171 v3 = v1->pActiveSkills[26];
2172 v4 = v2 & 0x3F; 2172 v4 = v2 & 0x3F;
2173 v5 = v1->pActiveSkills[26] & 0x3F; 2173 v5 = v1->pActiveSkills[26] & 0x3F;
2174 if ( (signed int)SkillToMastery(v2) >= 4 ) 2174 if ( (signed int)SkillToMastery(v2) >= 4 )
2175 return 10000; 2175 return 10000;