summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 15:14:19 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:20 +0300
commitb36dcf86bb443770dd8fc2ea08c709f92115613a (patch)
treec58a60553e521e37ad0da5b9818dc3b8c8b06e6b /src/net
parentc7ce3fa82460fdd426fad8f6aaea0351f7d8c787 (diff)
downloadplus-b36dcf86bb443770dd8fc2ea08c709f92115613a.tar.gz
plus-b36dcf86bb443770dd8fc2ea08c709f92115613a.tar.bz2
plus-b36dcf86bb443770dd8fc2ea08c709f92115613a.tar.xz
plus-b36dcf86bb443770dd8fc2ea08c709f92115613a.zip
move virtual member calls from inventory window constuctor into postInit.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/inventoryhandler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp
index f8bb619e9..be761fa19 100644
--- a/src/net/ea/inventoryhandler.cpp
+++ b/src/net/ea/inventoryhandler.cpp
@@ -428,7 +428,10 @@ void InventoryHandler::processPlayerStorageStatus(Net::MessageIn &msg)
mInventoryItems.clear();
if (!mStorageWindow)
+ {
mStorageWindow = new InventoryWindow(mStorage);
+ mStorageWindow->postInit();
+ }
}
void InventoryHandler::processPlayerStorageAdd(Net::MessageIn &msg)