diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-20 18:28:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-20 18:28:49 +0300 |
commit | 2f879820ee0e07b94a7c8189b8b7ab0720c3e208 (patch) | |
tree | 0d9c1a55cfb304c5e3fa5ea81b0202cb0e7f307d /src/net/tmwa/partyhandler.cpp | |
parent | d4b88a7ebce6222c34928c49925f972515593e89 (diff) | |
download | manaplus-2f879820ee0e07b94a7c8189b8b7ab0720c3e208.tar.gz manaplus-2f879820ee0e07b94a7c8189b8b7ab0720c3e208.tar.bz2 manaplus-2f879820ee0e07b94a7c8189b8b7ab0720c3e208.tar.xz manaplus-2f879820ee0e07b94a7c8189b8b7ab0720c3e208.zip |
Move partyshare into separate file.
Diffstat (limited to 'src/net/tmwa/partyhandler.cpp')
-rw-r--r-- | src/net/tmwa/partyhandler.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/tmwa/partyhandler.cpp b/src/net/tmwa/partyhandler.cpp index 310d71783..634ecbff5 100644 --- a/src/net/tmwa/partyhandler.cpp +++ b/src/net/tmwa/partyhandler.cpp @@ -185,9 +185,9 @@ void PartyHandler::chat(const std::string &text) const outMsg.writeString(text, static_cast<int>(text.length())); } -void PartyHandler::setShareExperience(const PartyShare share) const +void PartyHandler::setShareExperience(const Net::PartyShare share) const { - if (share == PARTY_SHARE_NOT_POSSIBLE) + if (share == Net::PartyShare::NOT_POSSIBLE) return; MessageOut outMsg(CMSG_PARTY_SETTINGS); @@ -195,9 +195,9 @@ void PartyHandler::setShareExperience(const PartyShare share) const outMsg.writeInt16(static_cast<int16_t>(mShareItems)); } -void PartyHandler::setShareItems(const PartyShare share) const +void PartyHandler::setShareItems(const Net::PartyShare share) const { - if (share == PARTY_SHARE_NOT_POSSIBLE) + if (share == Net::PartyShare::NOT_POSSIBLE) return; MessageOut outMsg(CMSG_PARTY_SETTINGS); |