View Single Post
  #6  
Old 07-01-2015, 05:29 PM
Shendare
Dragon
 
Join Date: Apr 2009
Location: California
Posts: 814
Default

Hmm. Maybe instead of commenting out the function call altogether, you could try changing the line that reads:

Code:
pp->skills[i] = database.GetSkillCap(pp->class_, (SkillUseTypes)i, 1);
to:

Code:
pp->skills[i] = database.GetSkillCap(pp->class_, (SkillUseTypes)i, 1) == 0 ? 0 : 1;
Reply With Quote