summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/buydialog.cpp2
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,