summaryrefslogtreecommitdiff
path: root/src/net/eathena/partyhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/partyhandler.cpp')
-rw-r--r--src/net/eathena/partyhandler.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/net/eathena/partyhandler.cpp b/src/net/eathena/partyhandler.cpp
index baaa1fffe..4ea0e83ea 100644
--- a/src/net/eathena/partyhandler.cpp
+++ b/src/net/eathena/partyhandler.cpp
@@ -445,4 +445,12 @@ void PartyHandler::processPartyInviteResponse(Net::MessageIn &msg) const
}
}
+void PartyHandler::changeLeader(const Being *const being) const
+{
+ if (!being)
+ return;
+ MessageOut outMsg(CMSG_PARTY_CHANGE_LEADER);
+ outMsg.writeInt32(being->getId());
+}
+
} // namespace EAthena