diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-27 00:45:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-27 01:51:18 +0300 |
commit | e13a1fc1d45c009badc10b4ec4a72bbbcf6fe592 (patch) | |
tree | 1d6fe1bcab60fb7a7ec2f6911d069394db3b6126 /src/gui/windows | |
parent | ccd272519ec38b15fa5ec24fe4c6daa6eb45e3da (diff) | |
download | manaverse-e13a1fc1d45c009badc10b4ec4a72bbbcf6fe592.tar.gz manaverse-e13a1fc1d45c009badc10b4ec4a72bbbcf6fe592.tar.bz2 manaverse-e13a1fc1d45c009badc10b4ec4a72bbbcf6fe592.tar.xz manaverse-e13a1fc1d45c009badc10b4ec4a72bbbcf6fe592.zip |
Build cashshophandler only if eathena enabled.
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/buydialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windows/buydialog.cpp b/src/gui/windows/buydialog.cpp index a71759840..b19b88c18 100644 --- a/src/gui/windows/buydialog.cpp +++ b/src/gui/windows/buydialog.cpp @@ -456,6 +456,7 @@ void BuyDialog::action(const ActionEvent &event) item->increaseQuantity(-mAmountItems); item->update(); } +#ifdef EATHENA_SUPPORT else if (mNpcId == Cash) { cashShopHandler->buyItem(item->getPrice(), @@ -463,6 +464,7 @@ void BuyDialog::action(const ActionEvent &event) item->getColor(), mAmountItems); } +#endif else { npcHandler->buyItem(mNpcId, |