summaryrefslogtreecommitdiff
path: root/src/net/gameserver/player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/gameserver/player.cpp')
-rw-r--r--src/net/gameserver/player.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/gameserver/player.cpp b/src/net/gameserver/player.cpp
index 46cee230..0a47a6bc 100644
--- a/src/net/gameserver/player.cpp
+++ b/src/net/gameserver/player.cpp
@@ -67,9 +67,9 @@ void Net::GameServer::Player::equip(int itemId, char slot)
Net::GameServer::connection->send(msg);
}
-void Net::GameServer::Player::attack()
+void Net::GameServer::Player::attack(unsigned char direction)
{
MessageOut msg(PGMSG_ATTACK);
-
+ msg.writeByte(direction);
Net::GameServer::connection->send(msg);
}