From 16be27ddb973b5c2dedb6b5b63083086984c2139 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 4 Oct 2016 23:42:07 +0300 Subject: Move npcinputstate into enums directory. --- src/gui/windows/inventorywindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/windows/inventorywindow.cpp') diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp index 40f276c89..05bcda0ae 100644 --- a/src/gui/windows/inventorywindow.cpp +++ b/src/gui/windows/inventorywindow.cpp @@ -1054,7 +1054,7 @@ void InventoryWindow::moveItemToCraft(const int craftSlot) NpcDialog *const dialog = npcHandler->getCurrentNpcDialog(); if (dialog && - dialog->getInputState() == NpcDialog::NPC_INPUT_ITEM_CRAFT) + dialog->getInputState() == NpcInputState::ITEM_CRAFT) { if (item->getQuantity() > 1 && !inputManager.isActionActive(InputAction::STOP_ATTACK)) -- cgit v1.2.3-70-g09d2