summaryrefslogtreecommitdiff
path: root/src/net/eathena/playerhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/playerhandler.cpp')
-rw-r--r--src/net/eathena/playerhandler.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp
index 1e7b0fd3f..7dd217918 100644
--- a/src/net/eathena/playerhandler.cpp
+++ b/src/net/eathena/playerhandler.cpp
@@ -252,6 +252,12 @@ void PlayerHandler::removeOption() const
MessageOut outMsg(CMSG_REMOVE_OPTION);
}
+void PlayerHandler::changeCart(const int type) const
+{
+ MessageOut outMsg(CMSG_CHANGE_CART);
+ outMsg.writeInt16(type, "type");
+}
+
void PlayerHandler::processPlayerShortcuts(Net::MessageIn &msg)
{
for (int f = 0; f < 27; f ++)