summaryrefslogtreecommitdiff
path: root/src/net/gameserver/player.cpp
diff options
context:
space:
mode:
authorJoshua Langley <joshlangley[at]optusnet.com.au>2007-08-08 09:35:21 +0000
committerJoshua Langley <joshlangley[at]optusnet.com.au>2007-08-08 09:35:21 +0000
commitf80ff244eea2c3e6b37acf156f0d6933220d2cce (patch)
treeb18ec0bdfde0f2a780942732032f17fc4cb08dda /src/net/gameserver/player.cpp
parentc7ca39c9fc863fbd59f9e859cbcfc2a65188f6f2 (diff)
downloadmana-f80ff244eea2c3e6b37acf156f0d6933220d2cce.tar.gz
mana-f80ff244eea2c3e6b37acf156f0d6933220d2cce.tar.bz2
mana-f80ff244eea2c3e6b37acf156f0d6933220d2cce.tar.xz
mana-f80ff244eea2c3e6b37acf156f0d6933220d2cce.zip
Re-designed equipment window, un-equip created.
Diffstat (limited to 'src/net/gameserver/player.cpp')
-rw-r--r--src/net/gameserver/player.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/net/gameserver/player.cpp b/src/net/gameserver/player.cpp
index c91923d8..e93fff46 100644
--- a/src/net/gameserver/player.cpp
+++ b/src/net/gameserver/player.cpp
@@ -67,6 +67,13 @@ void Net::GameServer::Player::equip(int slot)
Net::GameServer::connection->send(msg);
}
+void Net::GameServer::Player::unequip(int slot)
+{
+ MessageOut msg(PGMSG_UNEQUIP);
+ msg.writeByte(slot);
+ Net::GameServer::connection->send(msg);
+}
+
void Net::GameServer::Player::attack(int direction)
{
MessageOut msg(PGMSG_ATTACK);