summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/popups/itempopup.cpp2
-rw-r--r--src/gui/windows/itemamountwindow.cpp2
-rw-r--r--src/gui/windows/npcdialog.cpp8
3 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/popups/itempopup.cpp b/src/gui/popups/itempopup.cpp
index 158f8c57c..9fe4f2216 100644
--- a/src/gui/popups/itempopup.cpp
+++ b/src/gui/popups/itempopup.cpp
@@ -161,7 +161,7 @@ void ItemPopup::setItem(const ItemInfo &item,
const ItemColor color,
const bool showImage,
int id,
- const int *const cards A_TMWA_UNUSED)
+ const int *const cards)
{
if (!mIcon || (item.getName() == mLastName && color == mLastColor
&& id == mLastId))
diff --git a/src/gui/windows/itemamountwindow.cpp b/src/gui/windows/itemamountwindow.cpp
index 54e856539..e41e276fc 100644
--- a/src/gui/windows/itemamountwindow.cpp
+++ b/src/gui/windows/itemamountwindow.cpp
@@ -466,7 +466,7 @@ void ItemAmountWindow::showWindow(const ItemAmountWindowUsageT usage,
Window *const parent,
Item *const item,
int maxRange,
- int tag A_TMWA_UNUSED)
+ int tag)
{
if (!item)
return;
diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp
index 16705a414..ccb52f8c4 100644
--- a/src/gui/windows/npcdialog.cpp
+++ b/src/gui/windows/npcdialog.cpp
@@ -794,7 +794,7 @@ void NpcDialog::itemIndexRequest(const int size)
buildLayout();
}
-void NpcDialog::itemCraftRequest(const int size A_TMWA_UNUSED)
+void NpcDialog::itemCraftRequest(const int size)
{
mActionState = NPC_ACTION_INPUT;
mInputState = NPC_INPUT_ITEM_CRAFT;
@@ -1368,9 +1368,9 @@ std::string NpcDialog::complexItemToStr(const ComplexItem *const item)
return str;
}
-void NpcDialog::addCraftItem(Item *const item A_TMWA_UNUSED,
- const int amount A_TMWA_UNUSED,
- const int slot A_TMWA_UNUSED)
+void NpcDialog::addCraftItem(Item *const item,
+ const int amount,
+ const int slot)
{
if (mInputState != NPC_INPUT_ITEM_CRAFT)
return;