summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/beinghandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp
index bb7b7bc67..5df1ce823 100644
--- a/src/net/ea/beinghandler.cpp
+++ b/src/net/ea/beinghandler.cpp
@@ -460,7 +460,7 @@ void BeingHandler::processSkillDamage(Net::MessageIn &msg)
msg.readInt32(); // src speed
msg.readInt32(); // dst speed
param1 = msg.readInt32(); // Damage
- msg.readInt16(); // Skill level
+ const int level = msg.readInt16(); // Skill level
msg.readInt16(); // Div
msg.readInt8(); // Skill hit/type (?)
if (dstBeing)
@@ -474,7 +474,7 @@ void BeingHandler::processSkillDamage(Net::MessageIn &msg)
// if (srcSpeed)
// srcBeing->setAttackDelay(srcSpeed);
// srcBeing->handleAttack(dstBeing, param1, Being::HIT);
- srcBeing->handleSkill(dstBeing, param1, id);
+ srcBeing->handleSkill(dstBeing, param1, id, level);
}
}