summaryrefslogtreecommitdiff
path: root/src/net/eathena
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
parent1f7122e76f28ec851ef7d9361396575dde381287 (diff)
downloadplus-2f91a45e4c0c59a962059890ed5ab708a059788f.tar.gz
plus-2f91a45e4c0c59a962059890ed5ab708a059788f.tar.bz2
plus-2f91a45e4c0c59a962059890ed5ab708a059788f.tar.xz
plus-2f91a45e4c0c59a962059890ed5ab708a059788f.zip
Add enum for buy dialog types.
Diffstat (limited to 'src/net/eathena')
-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 ++)