diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 15:14:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:20 +0300 |
commit | b36dcf86bb443770dd8fc2ea08c709f92115613a (patch) | |
tree | c58a60553e521e37ad0da5b9818dc3b8c8b06e6b /src/net/ea/inventoryhandler.cpp | |
parent | c7ce3fa82460fdd426fad8f6aaea0351f7d8c787 (diff) | |
download | plus-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/ea/inventoryhandler.cpp')
-rw-r--r-- | src/net/ea/inventoryhandler.cpp | 3 |
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) |