Fix #myskills crash

This commit is contained in:
Michael Cook (mackal) 2015-08-06 20:29:55 -04:00
parent a04e78cfd1
commit e0d65df4de

View File

@ -4957,7 +4957,7 @@ void Client::ShowSkillsWindow()
"Singing","Sneak","Specialize Abjuration","Specialize Alteration","Specialize Conjuration","Specialize Divination","Specialize Evocation","Pick Pockets", "Singing","Sneak","Specialize Abjuration","Specialize Alteration","Specialize Conjuration","Specialize Divination","Specialize Evocation","Pick Pockets",
"Stringed Instruments","Swimming","Throwing","Tiger Claw","Tracking","Wind Instruments","Fishing","Make Poison","Tinkering","Research", "Stringed Instruments","Swimming","Throwing","Tiger Claw","Tracking","Wind Instruments","Fishing","Make Poison","Tinkering","Research",
"Alchemy","Baking","Tailoring","Sense Traps","Blacksmithing","Fletching","Brewing","Alcohol Tolerance","Begging","Jewelry Making", "Alchemy","Baking","Tailoring","Sense Traps","Blacksmithing","Fletching","Brewing","Alcohol Tolerance","Begging","Jewelry Making",
"Pottery","Percussion Instruments","Intimidation","Berserking","Taunt","Frenzy"}; "Pottery","Percussion Instruments","Intimidation","Berserking","Taunt","Frenzy","Remove Traps","Triple Attack"};
for(int i = 0; i <= (int)HIGHEST_SKILL; i++) for(int i = 0; i <= (int)HIGHEST_SKILL; i++)
Skills[SkillName[i]] = (SkillUseTypes)i; Skills[SkillName[i]] = (SkillUseTypes)i;
@ -4979,7 +4979,6 @@ void Client::ShowSkillsWindow()
this->SendPopupToClient(WindowTitle, WindowText.c_str()); this->SendPopupToClient(WindowTitle, WindowText.c_str());
} }
void Client::SetShadowStepExemption(bool v) void Client::SetShadowStepExemption(bool v)
{ {
if(v == true) if(v == true)