summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-23 13:15:41 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-23 23:49:41 +0300
commitb7bb27910303ef1538e2cbb4093e452c77567739 (patch)
tree4ec28548195cb257218a4bcea5fab07f19a2d36a /src/gui
parent4604b1e450ba9335c58745e9e8041f7e89fb5da5 (diff)
downloadManaVerse-b7bb27910303ef1538e2cbb4093e452c77567739.tar.gz
ManaVerse-b7bb27910303ef1538e2cbb4093e452c77567739.tar.bz2
ManaVerse-b7bb27910303ef1538e2cbb4093e452c77567739.tar.xz
ManaVerse-b7bb27910303ef1538e2cbb4093e452c77567739.zip
Add variable for cart window.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/inventorywindow.cpp3
-rw-r--r--src/gui/windows/inventorywindow.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp
index 581f9bfc2..e0dd2e8f0 100644
--- a/src/gui/windows/inventorywindow.cpp
+++ b/src/gui/windows/inventorywindow.cpp
@@ -70,6 +70,9 @@
InventoryWindow *inventoryWindow = nullptr;
InventoryWindow *storageWindow = nullptr;
+#ifdef EATHENA_SUPPORT
+InventoryWindow *cartWindow = nullptr;
+#endif
InventoryWindow::WindowList InventoryWindow::invInstances;
InventoryWindow::InventoryWindow(Inventory *const inventory) :
diff --git a/src/gui/windows/inventorywindow.h b/src/gui/windows/inventorywindow.h
index d17ba966d..aba6937a4 100644
--- a/src/gui/windows/inventorywindow.h
+++ b/src/gui/windows/inventorywindow.h
@@ -201,5 +201,8 @@ class InventoryWindow final : public Window,
extern InventoryWindow *inventoryWindow;
extern InventoryWindow *storageWindow;
+#ifdef EATHENA_SUPPORT
+extern InventoryWindow *cartWindow;
+#endif // EATHENA_SUPPORT
#endif // GUI_WINDOWS_INVENTORYWINDOW_H