diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-23 13:15:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-23 23:49:41 +0300 |
commit | b7bb27910303ef1538e2cbb4093e452c77567739 (patch) | |
tree | 4ec28548195cb257218a4bcea5fab07f19a2d36a /src/gui/windows | |
parent | 4604b1e450ba9335c58745e9e8041f7e89fb5da5 (diff) | |
download | manaplus-b7bb27910303ef1538e2cbb4093e452c77567739.tar.gz manaplus-b7bb27910303ef1538e2cbb4093e452c77567739.tar.bz2 manaplus-b7bb27910303ef1538e2cbb4093e452c77567739.tar.xz manaplus-b7bb27910303ef1538e2cbb4093e452c77567739.zip |
Add variable for cart window.
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/inventorywindow.cpp | 3 | ||||
-rw-r--r-- | src/gui/windows/inventorywindow.h | 3 |
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 |