summaryrefslogtreecommitdiff
path: root/src/net/tmwa/inventoryhandler.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/inventoryhandler.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/inventoryhandler.cpp')
-rw-r--r--src/net/tmwa/inventoryhandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/tmwa/inventoryhandler.cpp b/src/net/tmwa/inventoryhandler.cpp
index 0fd4e933..496ce621 100644
--- a/src/net/tmwa/inventoryhandler.cpp
+++ b/src/net/tmwa/inventoryhandler.cpp
@@ -274,7 +274,7 @@ void InventoryHandler::handleMessage(MessageIn &msg)
if (msg.readInt8() == 0)
{
- SERVER_NOTICE(_("Failed to use item."))
+ serverNotice(_("Failed to use item."));
}
else
{
@@ -386,7 +386,7 @@ void InventoryHandler::handleMessage(MessageIn &msg)
flag = msg.readInt8();
if (!flag)
- SERVER_NOTICE(_("Unable to equip."))
+ serverNotice(_("Unable to equip."));
else
mEquips.setEquipment(getSlot(equipType), index);
break;
@@ -398,7 +398,7 @@ void InventoryHandler::handleMessage(MessageIn &msg)
if (!flag)
{
- SERVER_NOTICE(_("Unable to unequip."))
+ serverNotice(_("Unable to unequip."));
}
else
{