diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-21 22:00:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-21 22:00:30 +0300 |
commit | 76dc498cd50fb5bc83b3d0a165df17781af35979 (patch) | |
tree | 6513853d484fa36e282afc2865e8e98f69100aeb /src/net/eathena/vendinghandler.cpp | |
parent | ba307a72cb8bcfe068e362fab4a5e572d9ac65e9 (diff) | |
download | plus-76dc498cd50fb5bc83b3d0a165df17781af35979.tar.gz plus-76dc498cd50fb5bc83b3d0a165df17781af35979.tar.bz2 plus-76dc498cd50fb5bc83b3d0a165df17781af35979.tar.xz plus-76dc498cd50fb5bc83b3d0a165df17781af35979.zip |
Call postInit after each window creation.
Diffstat (limited to 'src/net/eathena/vendinghandler.cpp')
-rw-r--r-- | src/net/eathena/vendinghandler.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/eathena/vendinghandler.cpp b/src/net/eathena/vendinghandler.cpp index 27a43200f..9ba6bfc7b 100644 --- a/src/net/eathena/vendinghandler.cpp +++ b/src/net/eathena/vendinghandler.cpp @@ -144,6 +144,7 @@ void VendingHandler::processItemsList(Net::MessageIn &msg) if (!being) return; mBuyDialog = new BuyDialog(being->getName()); + mBuyDialog->postInit(); mBuyDialog->setMoney(PlayerInfo::getAttribute(Attributes::MONEY)); msg.readInt32("vender id"); for (int f = 0; f < count; f ++) |