From e13a1fc1d45c009badc10b4ec4a72bbbcf6fe592 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 27 Feb 2015 00:45:20 +0300 Subject: Build cashshophandler only if eathena enabled. --- src/gui/windows/buydialog.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui') 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, -- cgit v1.2.3-70-g09d2