From cd25589ba6143591389095eb25a260e350edc699 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 16 Feb 2015 20:40:13 +0300 Subject: Build buyingstoremodelistener only if eathena support enabled. --- src/gui/windows/shopwindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui/windows/shopwindow.cpp') diff --git a/src/gui/windows/shopwindow.cpp b/src/gui/windows/shopwindow.cpp index 8f858b0fe..32580454d 100644 --- a/src/gui/windows/shopwindow.cpp +++ b/src/gui/windows/shopwindow.cpp @@ -88,7 +88,9 @@ ShopWindow::ShopWindow() : SelectionListener(), VendingModeListener(), VendingSlotsListener(), +#ifdef EATHENA_SUPPORT BuyingStoreModeListener(), +#endif BuyingStoreSlotsListener(), // TRANSLATORS: shop window button mCloseButton(new Button(this, _("Close"), "close", this)), @@ -1078,6 +1080,7 @@ void ShopWindow::buyingStoreSlotsChanged(const int slots) updateButtonsAndLabels(); } +#ifdef EATHENA_SUPPORT void ShopWindow::buyingStoreEnabled(const bool b) { mEnableBuyingStore = b; @@ -1086,3 +1089,4 @@ void ShopWindow::buyingStoreEnabled(const bool b) mBuyShopSize = 0; updateButtonsAndLabels(); } +#endif -- cgit v1.2.3-60-g2f50