diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-07 21:29:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-07 21:29:16 +0300 |
commit | 64d7a4c79f5053a178774a624968fd2d87549e22 (patch) | |
tree | 1dc109f441f1a30ffc3f83d08bd442f744fc76f5 /src/net/eathena | |
parent | ffd432add542852a4e3bae3ae477369fed4e0147 (diff) | |
download | mv-64d7a4c79f5053a178774a624968fd2d87549e22.tar.gz mv-64d7a4c79f5053a178774a624968fd2d87549e22.tar.bz2 mv-64d7a4c79f5053a178774a624968fd2d87549e22.tar.xz mv-64d7a4c79f5053a178774a624968fd2d87549e22.zip |
Remove useless parameter from PartyHandler::inviteResponse.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/partyhandler.cpp | 3 | ||||
-rw-r--r-- | src/net/eathena/partyhandler.h | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/net/eathena/partyhandler.cpp b/src/net/eathena/partyhandler.cpp index f22e5aabc..c612f13f0 100644 --- a/src/net/eathena/partyhandler.cpp +++ b/src/net/eathena/partyhandler.cpp @@ -143,8 +143,7 @@ void PartyHandler::invite(const std::string &name) const } } -void PartyHandler::inviteResponse(const std::string &inviter A_UNUSED, - const int partyId, +void PartyHandler::inviteResponse(const int partyId, const bool accept) const { if (localPlayer) diff --git a/src/net/eathena/partyhandler.h b/src/net/eathena/partyhandler.h index 22cabd81e..80d85e6fb 100644 --- a/src/net/eathena/partyhandler.h +++ b/src/net/eathena/partyhandler.h @@ -44,8 +44,7 @@ class PartyHandler final : public MessageHandler, public Ea::PartyHandler void invite(const std::string &name) const override final; - void inviteResponse(const std::string &inviter, - const int partyId, + void inviteResponse(const int partyId, const bool accept) const override final; void leave() const override final; |