summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 12:22:01 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:19 +0300
commit6438e784344924eb9ace561ec7fcc2b723dcb0dd (patch)
tree98f117f99807591f13ff371c942b23c2e1e49f29 /src/game.cpp
parent8319916c8521b2611d8b877167c3fb612c22b37d (diff)
downloadmanaplus-6438e784344924eb9ace561ec7fcc2b723dcb0dd.tar.gz
manaplus-6438e784344924eb9ace561ec7fcc2b723dcb0dd.tar.bz2
manaplus-6438e784344924eb9ace561ec7fcc2b723dcb0dd.tar.xz
manaplus-6438e784344924eb9ace561ec7fcc2b723dcb0dd.zip
move virtual member calls from equipmentwindow constuctor into postInit.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 7b65147e4..3e2b1859d 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -212,7 +212,9 @@ static void createGuiWindows()
tradeWindow = new TradeWindow;
equipmentWindow = new EquipmentWindow(PlayerInfo::getEquipment(),
player_node);
+ equipmentWindow->postInit();
beingEquipmentWindow = new EquipmentWindow(nullptr, nullptr, true);
+ beingEquipmentWindow->postInit();
beingEquipmentWindow->setVisible(false);
statusWindow = new StatusWindow;
miniStatusWindow = new MiniStatusWindow;