diff options
Diffstat (limited to 'src/net/gameserver/player.cpp')
-rw-r--r-- | src/net/gameserver/player.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/net/gameserver/player.cpp b/src/net/gameserver/player.cpp index 033327c9..9af0c238 100644 --- a/src/net/gameserver/player.cpp +++ b/src/net/gameserver/player.cpp @@ -73,3 +73,10 @@ void Net::GameServer::Player::attack(unsigned char direction) msg.writeByte(direction); Net::GameServer::connection->send(msg); } + +void Net::GameServer::Player::changeAction(Being::Action action) +{ + MessageOut msg(PGMSG_ACTION_CHANGE); + msg.writeByte(action); + Net::GameServer::connection->send(msg); +} |