summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/partyhandler.cpp3
-rw-r--r--src/net/tmwa/partyhandler.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/net/tmwa/partyhandler.cpp b/src/net/tmwa/partyhandler.cpp
index f503b666c..390671345 100644
--- a/src/net/tmwa/partyhandler.cpp
+++ b/src/net/tmwa/partyhandler.cpp
@@ -132,8 +132,7 @@ void PartyHandler::invite(const std::string &name) const
}
}
-void PartyHandler::inviteResponse(const std::string &inviter A_UNUSED,
- const int partyId A_UNUSED,
+void PartyHandler::inviteResponse(const int partyId A_UNUSED,
const bool accept) const
{
if (localPlayer)
diff --git a/src/net/tmwa/partyhandler.h b/src/net/tmwa/partyhandler.h
index af18e2d14..30c837c37 100644
--- a/src/net/tmwa/partyhandler.h
+++ b/src/net/tmwa/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;