summaryrefslogtreecommitdiff
path: root/src/net/tmwa/partyhandler.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-10-22 15:04:20 +0200
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-10-23 10:09:26 +0200
commit1ac56984c0c8bd68166e38dcd6e5e5a4e770ec8c (patch)
tree463ddf2cc6126021124c842c70b2c9fdcd2009ec /src/net/tmwa/partyhandler.cpp
parent9de9b252705fafda327eb18022b0771e7d28a9c9 (diff)
downloadmana-1ac56984c0c8bd68166e38dcd6e5e5a4e770ec8c.tar.gz
mana-1ac56984c0c8bd68166e38dcd6e5e5a4e770ec8c.tar.bz2
mana-1ac56984c0c8bd68166e38dcd6e5e5a4e770ec8c.tar.xz
mana-1ac56984c0c8bd68166e38dcd6e5e5a4e770ec8c.zip
Changed SERVER_NOTICE macro to inline function
Seems to be no point in using a macro here.
Diffstat (limited to 'src/net/tmwa/partyhandler.cpp')
-rw-r--r--src/net/tmwa/partyhandler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/tmwa/partyhandler.cpp b/src/net/tmwa/partyhandler.cpp
index 3b636c71..2b256cd5 100644
--- a/src/net/tmwa/partyhandler.cpp
+++ b/src/net/tmwa/partyhandler.cpp
@@ -79,9 +79,9 @@ void PartyHandler::handleMessage(MessageIn &msg)
{
case SMSG_PARTY_CREATE:
if (msg.readInt8())
- SERVER_NOTICE(_("Could not create party."))
+ serverNotice(_("Could not create party."));
else
- SERVER_NOTICE(_("Party successfully created."))
+ serverNotice(_("Party successfully created."));
break;
case SMSG_PARTY_INFO:
{
@@ -221,7 +221,7 @@ void PartyHandler::handleMessage(MessageIn &msg)
{
taParty->removeFromMembers();
taParty->clearMembers();
- SERVER_NOTICE(_("You have left the party."))
+ serverNotice(_("You have left the party."));
if (partyTab)
{
delete partyTab;
@@ -325,7 +325,7 @@ void PartyHandler::invite(const std::string &name)
}
else
{
- SERVER_NOTICE(_("You can only invite when you are in a party!"))
+ serverNotice(_("You can only invite when you are in a party!"));
}
}