From b36dcf86bb443770dd8fc2ea08c709f92115613a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Oct 2013 15:14:19 +0300 Subject: move virtual member calls from inventory window constuctor into postInit. --- src/net/ea/inventoryhandler.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/net') 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) -- cgit v1.2.3-70-g09d2