From a27d1340bded0c4dda907fa2d7b36654f3f4f2cc Mon Sep 17 00:00:00 2001 From: tomrus88 Date: Sat, 27 Mar 2010 21:05:35 +0300 Subject: [PATCH] Fix to fix. --- src/game/Player.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/game/Player.cpp b/src/game/Player.cpp index f76217c39..80da871c2 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -5465,6 +5465,9 @@ void Player::SetSkill(uint16 id, uint16 step, uint16 currVal, uint16 maxVal) { if(currVal) { + // update step + SetUInt32Value(PLAYER_SKILL_INDEX(itr->second.pos), MAKE_PAIR32(id, step)); + // update value SetUInt32Value(PLAYER_SKILL_VALUE_INDEX(itr->second.pos), MAKE_SKILL_VALUE(currVal, maxVal)); if(itr->second.uState != SKILL_NEW) itr->second.uState = SKILL_CHANGED;