mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-19 20:02:25 +00:00
Fix #myskills crash
This commit is contained in:
parent
a04e78cfd1
commit
e0d65df4de
@ -4957,7 +4957,7 @@ void Client::ShowSkillsWindow()
|
||||
"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",
|
||||
"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++)
|
||||
Skills[SkillName[i]] = (SkillUseTypes)i;
|
||||
|
||||
@ -4979,7 +4979,6 @@ void Client::ShowSkillsWindow()
|
||||
this->SendPopupToClient(WindowTitle, WindowText.c_str());
|
||||
}
|
||||
|
||||
|
||||
void Client::SetShadowStepExemption(bool v)
|
||||
{
|
||||
if(v == true)
|
||||
@ -8654,7 +8653,7 @@ uint32 Client::GetMoney(uint8 type, uint8 subtype) {
|
||||
break;
|
||||
case 2:
|
||||
value = static_cast<uint32>(m_pp.platinum_cursor);
|
||||
break;
|
||||
break;
|
||||
case 3:
|
||||
value = static_cast<uint32>(m_pp.platinum_shared);
|
||||
break;
|
||||
@ -8667,4 +8666,4 @@ uint32 Client::GetMoney(uint8 type, uint8 subtype) {
|
||||
break;
|
||||
}
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user