summaryrefslogtreecommitdiff
path: root/src/net/ea/playerhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/playerhandler.cpp')
-rw-r--r--src/net/ea/playerhandler.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp
index 55d54af8..4ff480d6 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -499,10 +499,8 @@ void PlayerHandler::setDirection(char direction)
void PlayerHandler::setDestination(int x, int y, int direction)
{
- char temp[4] = "";
- set_coordinates(temp, x, y, direction);
MessageOut outMsg(CMSG_PLAYER_CHANGE_DEST);
- outMsg.writeString(temp, 3);
+ outMsg.writeCoordinates(x, y, direction);
}
void PlayerHandler::changeAction(Being::Action action)