summaryrefslogtreecommitdiff
path: root/src/net/eathena/markethandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-24 15:33:41 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-24 15:33:41 +0300
commit2f91a45e4c0c59a962059890ed5ab708a059788f (patch)
treecd156d8291ce9b56a635454a6292d9f3d98f737f /src/net/eathena/markethandler.cpp
parent1f7122e76f28ec851ef7d9361396575dde381287 (diff)
downloadmanaplus-2f91a45e4c0c59a962059890ed5ab708a059788f.tar.gz
manaplus-2f91a45e4c0c59a962059890ed5ab708a059788f.tar.bz2
manaplus-2f91a45e4c0c59a962059890ed5ab708a059788f.tar.xz
manaplus-2f91a45e4c0c59a962059890ed5ab708a059788f.zip
Add enum for buy dialog types.
Diffstat (limited to 'src/net/eathena/markethandler.cpp')
-rw-r--r--src/net/eathena/markethandler.cpp2
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 ++)