summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-18 21:56:13 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-18 21:56:13 +0300
commitecbca1b63e718f820cd27fc2f91dceb134e4639b (patch)
tree208bd6145505b0d2475a82779bf5bb85ccf797c8 /src/net
parent37f5b0df96cf20b205d0636d499b863f92d4d040 (diff)
downloadmanaverse-ecbca1b63e718f820cd27fc2f91dceb134e4639b.tar.gz
manaverse-ecbca1b63e718f820cd27fc2f91dceb134e4639b.tar.bz2
manaverse-ecbca1b63e718f820cd27fc2f91dceb134e4639b.tar.xz
manaverse-ecbca1b63e718f820cd27fc2f91dceb134e4639b.zip
Remove useless check.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/skillhandler.cpp2
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)