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 d234bca6a..528608d7e 100644
--- a/src/net/ea/beinghandler.cpp
+++ b/src/net/ea/beinghandler.cpp
@@ -512,8 +512,8 @@ void BeingHandler::processBeingAction(Net::MessageIn &msg)
{
if (srcSpeed && srcBeing->getType() == Being::PLAYER)
srcBeing->setAttackDelay(srcSpeed);
- srcBeing->handleAttack(dstBeing, param1,
- static_cast<Being::AttackType>(type));
+ // attackid=1, type
+ srcBeing->handleAttack(dstBeing, param1, 1);
if (srcBeing->getType() == Being::PLAYER)
srcBeing->setAttackTime();
}