diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-11 02:27:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-11 02:38:55 +0300 |
commit | 5d4558bc21607cdb96a988e2867e466ff8b1578f (patch) | |
tree | 614c1f1818146df9ecc7453b780773a081112a92 /src/gui/windows | |
parent | c3ee1ba31f16d8d5d8f0f6e6a68dc1e5b12bad31 (diff) | |
download | ManaVerse-5d4558bc21607cdb96a988e2867e466ff8b1578f.tar.gz ManaVerse-5d4558bc21607cdb96a988e2867e466ff8b1578f.tar.bz2 ManaVerse-5d4558bc21607cdb96a988e2867e466ff8b1578f.tar.xz ManaVerse-5d4558bc21607cdb96a988e2867e466ff8b1578f.zip |
Fix compilation warnings with tmwa only.
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/itemamountwindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/npcdialog.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/windows/itemamountwindow.cpp b/src/gui/windows/itemamountwindow.cpp index 02c94931e..70a69d0ed 100644 --- a/src/gui/windows/itemamountwindow.cpp +++ b/src/gui/windows/itemamountwindow.cpp @@ -471,7 +471,7 @@ void ItemAmountWindow::showWindow(const Usage usage, Window *const parent, Item *const item, int maxRange, - int tag) + int tag A_TMWA_UNUSED) { if (!item) return; diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp index 69f024f50..90fbebebc 100644 --- a/src/gui/windows/npcdialog.cpp +++ b/src/gui/windows/npcdialog.cpp @@ -811,7 +811,7 @@ void NpcDialog::itemIndexRequest(const int size) buildLayout(); } -void NpcDialog::itemCraftRequest(const int size) +void NpcDialog::itemCraftRequest(const int size A_TMWA_UNUSED) { #ifdef EATHENA_SUPPORT mActionState = NPC_ACTION_INPUT; @@ -1390,9 +1390,9 @@ std::string NpcDialog::complexItemToStr(const ComplexItem *const item) return str; } -void NpcDialog::addCraftItem(Item *const item, - const int amount, - const int slot) +void NpcDialog::addCraftItem(Item *const item A_TMWA_UNUSED, + const int amount A_TMWA_UNUSED, + const int slot A_TMWA_UNUSED) { if (mInputState != NPC_INPUT_ITEM_CRAFT) return; |