From 389f3a580e6641d8486a44f25d3443829f42408f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 19 Feb 2015 12:02:45 +0300 Subject: Fix virtual overload function closeStorage. --- src/gui/dialogsmanager.cpp | 2 +- src/net/ea/inventoryhandler.cpp | 2 +- src/net/ea/inventoryhandler.h | 2 +- src/net/inventoryhandler.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gui/dialogsmanager.cpp b/src/gui/dialogsmanager.cpp index 1f5a95c1b..f415e2cd2 100644 --- a/src/gui/dialogsmanager.cpp +++ b/src/gui/dialogsmanager.cpp @@ -78,7 +78,7 @@ void DialogsManager::closeDialogs() NpcDialog::closeAll(); SellDialog::closeAll(); if (inventoryHandler) - inventoryHandler->closeStorage(); + inventoryHandler->destroyStorage(); if (deathNotice) { deathNotice->scheduleDelete(); diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp index 026359d76..e9bc4e236 100644 --- a/src/net/ea/inventoryhandler.cpp +++ b/src/net/ea/inventoryhandler.cpp @@ -317,7 +317,7 @@ void InventoryHandler::processPlayerArrowEquip(Net::MessageIn &msg) BLOCK_END("InventoryHandler::processPlayerArrowEquip") } -void InventoryHandler::closeStorage() +void InventoryHandler::destroyStorage() { BLOCK_START("InventoryHandler::closeStorage") if (storageWindow) diff --git a/src/net/ea/inventoryhandler.h b/src/net/ea/inventoryhandler.h index 9b2e85287..77cf40a56 100644 --- a/src/net/ea/inventoryhandler.h +++ b/src/net/ea/inventoryhandler.h @@ -85,7 +85,7 @@ class InventoryHandler notfinal : public Net::InventoryHandler static void processPlayerArrowEquip(Net::MessageIn &msg); - void closeStorage() override final; + void destroyStorage() override final; void forgotStorage() override final; diff --git a/src/net/inventoryhandler.h b/src/net/inventoryhandler.h index 8e6cf6f14..d22bcd4e1 100644 --- a/src/net/inventoryhandler.h +++ b/src/net/inventoryhandler.h @@ -69,7 +69,7 @@ class InventoryHandler notfinal virtual Inventory *getStorage() const = 0; - virtual void closeStorage() = 0; + virtual void destroyStorage() = 0; virtual void forgotStorage() = 0; -- cgit v1.2.3-70-g09d2