diff options
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/skillhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/skillhandler.cpp b/src/net/eathena/skillhandler.cpp index 445a0b78b..27f4b136a 100644 --- a/src/net/eathena/skillhandler.cpp +++ b/src/net/eathena/skillhandler.cpp @@ -295,7 +295,7 @@ void SkillHandler::processSkillDelete(Net::MessageIn &msg) int updateSkill = 0; const int skillId = msg.readInt16("skill id"); const int oldLevel = PlayerInfo::getSkillLevel(skillId); - if (oldLevel && oldLevel != 0) + if (oldLevel != 0) updateSkill = skillId; PlayerInfo::setSkillLevel(skillId, 0); if (skillDialog) |