summaryrefslogtreecommitdiff
path: root/src/net/eathena/mercenaryhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-21 17:15:12 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-21 17:15:12 +0300
commit5b907fc3c1c21f69f1b86d4e3c16990dd2bff757 (patch)
treec7db0320a42458be294964c68326716f7daadde5 /src/net/eathena/mercenaryhandler.cpp
parent224c8b62427c7441358dc343aa903c45515d3396 (diff)
downloadplus-5b907fc3c1c21f69f1b86d4e3c16990dd2bff757.tar.gz
plus-5b907fc3c1c21f69f1b86d4e3c16990dd2bff757.tar.bz2
plus-5b907fc3c1c21f69f1b86d4e3c16990dd2bff757.tar.xz
plus-5b907fc3c1c21f69f1b86d4e3c16990dd2bff757.zip
eathena: add packet SMSG_MERCENARY_ACTION 0x029f.
Diffstat (limited to 'src/net/eathena/mercenaryhandler.cpp')
-rw-r--r--src/net/eathena/mercenaryhandler.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/eathena/mercenaryhandler.cpp b/src/net/eathena/mercenaryhandler.cpp
index b65662afd..541f62cf7 100644
--- a/src/net/eathena/mercenaryhandler.cpp
+++ b/src/net/eathena/mercenaryhandler.cpp
@@ -180,4 +180,10 @@ void MercenaryHandler::handleMercenaryMessage(const int cmd)
}
}
+void MercenaryHandler::fire()
+{
+ createOutPacket(SMSG_MERCENARY_ACTION);
+ outMsg.writeInt8(2, "action"); // delete
+}
+
} // namespace EAthena