mirror of
https://github.com/mangosfour/server.git
synced 2025-12-25 04:37:02 +00:00
[9731] Cleanup in skil steps code.
* Move step arg in SetSkill to end for make possible for it default value. * Merge GetSkillStep function to SetSkill, base at fact that old GetSkillStep code can be != 0 only for already known spell, so at update
This commit is contained in:
parent
c64a2e8c84
commit
c7095fb3ed
7 changed files with 25 additions and 38 deletions
|
|
@ -87,5 +87,5 @@ void WorldSession::HandleUnlearnSkillOpcode(WorldPacket & recv_data)
|
|||
{
|
||||
uint32 skill_id;
|
||||
recv_data >> skill_id;
|
||||
GetPlayer()->SetSkill(skill_id, 0, 0, 0);
|
||||
GetPlayer()->SetSkill(skill_id, 0, 0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue