[9732] Remove another case hardcoded set skill step.

We not have currently way set proper set skill step at loading,
but this not required, because important only for new learned rank have different step.
Also drop outdated (as tested) comment.
This commit is contained in:
VladimirMangos 2010-04-12 12:14:40 +04:00
parent c7095fb3ed
commit 6a50185cfd
2 changed files with 2 additions and 7 deletions

View file

@ -20924,12 +20924,7 @@ void Player::_LoadSkills(QueryResult *result)
continue;
}
// enable unlearn button for primary professions only
if (pSkill->categoryId == SKILL_CATEGORY_PROFESSION)
SetUInt32Value(PLAYER_SKILL_INDEX(count), MAKE_PAIR32(skill,1));
else
SetUInt32Value(PLAYER_SKILL_INDEX(count), MAKE_PAIR32(skill,0));
SetUInt32Value(PLAYER_SKILL_INDEX(count), MAKE_PAIR32(skill,0));
SetUInt32Value(PLAYER_SKILL_VALUE_INDEX(count),MAKE_SKILL_VALUE(value, max));
SetUInt32Value(PLAYER_SKILL_BONUS_INDEX(count),0);