summaryrefslogtreecommitdiff
path: root/src/gui/windows/inventorywindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-07 16:59:33 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-07 16:59:33 +0300
commit62c5097904bfc6c6e44e776730ea1d01aaf891c2 (patch)
tree57216dc3193690c95152405ba50ab222d431a089 /src/gui/windows/inventorywindow.cpp
parent8eb2e7d993ad9759da2fbeccea1a924b1b7f64dd (diff)
downloadmanaplus-62c5097904bfc6c6e44e776730ea1d01aaf891c2.tar.gz
manaplus-62c5097904bfc6c6e44e776730ea1d01aaf891c2.tar.bz2
manaplus-62c5097904bfc6c6e44e776730ea1d01aaf891c2.tar.xz
manaplus-62c5097904bfc6c6e44e776730ea1d01aaf891c2.zip
Add partial implimentation for craft inventory. For now almost same with npc inventory.
Diffstat (limited to 'src/gui/windows/inventorywindow.cpp')
-rw-r--r--src/gui/windows/inventorywindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp
index f1b76a2d1..eac1b692d 100644
--- a/src/gui/windows/inventorywindow.cpp
+++ b/src/gui/windows/inventorywindow.cpp
@@ -124,6 +124,7 @@ InventoryWindow::InventoryWindow(Inventory *const inventory) :
#ifdef EATHENA_SUPPORT
case InventoryType::Vending:
case InventoryType::Mail:
+ case InventoryType::Craft:
#endif
case InventoryType::TypeEnd:
default:
@@ -319,6 +320,7 @@ InventoryWindow::InventoryWindow(Inventory *const inventory) :
#ifdef EATHENA_SUPPORT
case InventoryType::Vending:
case InventoryType::Mail:
+ case InventoryType::Craft:
#endif
case InventoryType::TypeEnd:
break;
@@ -380,6 +382,7 @@ void InventoryWindow::storeSortOrder() const
#ifdef EATHENA_SUPPORT
case InventoryType::Vending:
case InventoryType::Mail:
+ case InventoryType::Craft:
#endif
case InventoryType::TypeEnd:
default:
@@ -823,6 +826,7 @@ void InventoryWindow::close()
#ifdef EATHENA_SUPPORT
case InventoryType::Vending:
case InventoryType::Mail:
+ case InventoryType::Craft:
#endif
case InventoryType::TypeEnd:
break;