diff options
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ea/inventoryhandler.cpp | 4 | ||||
-rw-r--r-- | src/net/ea/inventoryhandler.h | 4 | ||||
-rw-r--r-- | src/net/ea/playerhandler.cpp | 1 |
3 files changed, 3 insertions, 6 deletions
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp index 60288ed3..1b191354 100644 --- a/src/net/ea/inventoryhandler.cpp +++ b/src/net/ea/inventoryhandler.cpp @@ -29,8 +29,6 @@ #include "localplayer.h" #include "log.h" -#include "gui/storagewindow.h" - #include "gui/widgets/chattab.h" #include "net/messagein.h" @@ -308,7 +306,7 @@ void InventoryHandler::handleMessage(Net::MessageIn &msg) mInventoryItems.clear(); if (!mStorageWindow) - mStorageWindow = new StorageWindow(mStorage); + mStorageWindow = new InventoryWindow(mStorage); } break; diff --git a/src/net/ea/inventoryhandler.h b/src/net/ea/inventoryhandler.h index 2699e584..d08e4772 100644 --- a/src/net/ea/inventoryhandler.h +++ b/src/net/ea/inventoryhandler.h @@ -26,7 +26,7 @@ #include "inventory.h" #include "localplayer.h" -#include "gui/storagewindow.h" +#include "gui/inventorywindow.h" #include "net/inventoryhandler.h" #include "net/net.h" @@ -151,7 +151,7 @@ class InventoryHandler : public MessageHandler, public Net::InventoryHandler EquipBackend mEquips; InventoryItems mInventoryItems; Inventory *mStorage; - StorageWindow *mStorageWindow; + InventoryWindow *mStorageWindow; }; } // namespace EAthena diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp index 89e55f92..6aeb5168 100644 --- a/src/net/ea/playerhandler.cpp +++ b/src/net/ea/playerhandler.cpp @@ -34,7 +34,6 @@ #include "gui/okdialog.h" #include "gui/sell.h" #include "gui/statuswindow.h" -#include "gui/storagewindow.h" #include "gui/viewport.h" #include "gui/widgets/chattab.h" |