diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-24 15:33:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-24 15:33:41 +0300 |
commit | 2f91a45e4c0c59a962059890ed5ab708a059788f (patch) | |
tree | cd156d8291ce9b56a635454a6292d9f3d98f737f /src/net/eathena | |
parent | 1f7122e76f28ec851ef7d9361396575dde381287 (diff) | |
download | manaverse-2f91a45e4c0c59a962059890ed5ab708a059788f.tar.gz manaverse-2f91a45e4c0c59a962059890ed5ab708a059788f.tar.bz2 manaverse-2f91a45e4c0c59a962059890ed5ab708a059788f.tar.xz manaverse-2f91a45e4c0c59a962059890ed5ab708a059788f.zip |
Add enum for buy dialog types.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/markethandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/markethandler.cpp b/src/net/eathena/markethandler.cpp index e0525753e..3c5c873ce 100644 --- a/src/net/eathena/markethandler.cpp +++ b/src/net/eathena/markethandler.cpp @@ -76,7 +76,7 @@ void MarketHandler::processMarketOpen(Net::MessageIn &msg) { const int len = (msg.readInt16("len") - 4) / 13; - mBuyDialog = new BuyDialog(-3); + mBuyDialog = new BuyDialog(BuyDialog::Market); mBuyDialog->setMoney(PlayerInfo::getAttribute(Attributes::MONEY)); for (int f = 0; f < len; f ++) |