From 7dfe062b9e33d863d23455453aae12ba592aac8b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 6 Oct 2013 16:37:19 +0300 Subject: remove unused includes and remove default parameter in being. --- src/net/eathena/beinghandler.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/net/eathena') diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp index 685f19f16..739e2397d 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -569,20 +569,20 @@ void BeingHandler::processPlayerMoveUpdate(Net::MessageIn &msg, switch (type) { case 0: - dstBeing->setAction(Being::STAND); + dstBeing->setAction(Being::STAND, 0); player_node->imitateAction(dstBeing, Being::STAND); break; case 1: if (dstBeing->getCurrentAction() != Being::DEAD) { - dstBeing->setAction(Being::DEAD); + dstBeing->setAction(Being::DEAD, 0); dstBeing->recalcSpritesOrder(); } break; case 2: - dstBeing->setAction(Being::SIT); + dstBeing->setAction(Being::SIT, 0); player_node->imitateAction(dstBeing, Being::SIT); break; @@ -685,13 +685,13 @@ void BeingHandler::processBeingVisibleOrMove(Net::MessageIn &msg, if (spawnId) { - dstBeing->setAction(Being::SPAWN); + dstBeing->setAction(Being::SPAWN, 0); } else if (visible) { dstBeing->clearPath(); dstBeing->setActionTime(tick_time); - dstBeing->setAction(Being::STAND); + dstBeing->setAction(Being::STAND, 0); } // Prevent division by 0 when calculating frame @@ -771,7 +771,7 @@ void BeingHandler::processBeingVisibleOrMove(Net::MessageIn &msg, { uint16_t srcX, srcY, dstX, dstY; msg.readCoordinatePair(srcX, srcY, dstX, dstY); - dstBeing->setAction(Being::STAND); + dstBeing->setAction(Being::STAND, 0); dstBeing->setTileCoords(srcX, srcY); dstBeing->setDestination(dstX, dstY); } -- cgit v1.2.3-70-g09d2