diff options
Diffstat (limited to 'src/net/tmwa/beingrecv.cpp')
-rw-r--r-- | src/net/tmwa/beingrecv.cpp | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/src/net/tmwa/beingrecv.cpp b/src/net/tmwa/beingrecv.cpp index 1d8f16871..bbae0a1bd 100644 --- a/src/net/tmwa/beingrecv.cpp +++ b/src/net/tmwa/beingrecv.cpp @@ -55,8 +55,6 @@ #include "debug.h" -extern int serverVersion; - namespace TmwAthena { @@ -261,8 +259,7 @@ void BeingRecv::processPlayerUpdate1(Net::MessageIn &msg) else if (disguiseId) { actorManager->undelete(dstBeing); - if (serverVersion < 1) - beingHandler->requestNameById(id); + beingHandler->requestNameById(id); } uint8_t dir = dstBeing->getDirectionDelayed(); @@ -397,8 +394,7 @@ void BeingRecv::processPlayerUpdate2(Net::MessageIn &msg) else if (disguiseId) { actorManager->undelete(dstBeing); - if (serverVersion < 1) - beingHandler->requestNameById(id); + beingHandler->requestNameById(id); } uint8_t dir = dstBeing->getDirectionDelayed(); @@ -529,8 +525,7 @@ void BeingRecv::processPlayerMove(Net::MessageIn &msg) else if (disguiseId) { actorManager->undelete(dstBeing); - if (serverVersion < 1) - beingHandler->requestNameById(id); + beingHandler->requestNameById(id); } const uint8_t dir = dstBeing->getDirectionDelayed(); @@ -716,8 +711,7 @@ void BeingRecv::processBeingVisible(Net::MessageIn &msg) if (dstBeing->getType() == ActorType::Npc) { actorManager->undelete(dstBeing); - if (serverVersion < 1) - beingHandler->requestNameById(id); + beingHandler->requestNameById(id); } } @@ -925,8 +919,7 @@ void BeingRecv::processBeingMove(Net::MessageIn &msg) if (dstBeing->getType() == ActorType::Npc) { actorManager->undelete(dstBeing); - if (serverVersion < 1) - beingHandler->requestNameById(id); + beingHandler->requestNameById(id); } } |