From 32947c0634ec582f6d641402433d2037f5087a36 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 27 Feb 2015 16:26:21 +0300 Subject: Fix compilation with eathena only. --- src/net/ea/buysellhandler.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/net') diff --git a/src/net/ea/buysellhandler.cpp b/src/net/ea/buysellhandler.cpp index 537a741ea..7d33492ce 100644 --- a/src/net/ea/buysellhandler.cpp +++ b/src/net/ea/buysellhandler.cpp @@ -65,8 +65,10 @@ void BuySellHandler::requestSellList(const std::string &nick) const return; const std::string data("!selllist " + toString(tick_time)); +// +++ need move to tmwa +#ifdef TMWA_SUPPORT shopWindow->setAcceptPlayer(nick); - +#endif if (config.getBoolValue("hideShopMessages")) { chatHandler->privateMessage(nick, data); @@ -84,7 +86,10 @@ void BuySellHandler::requestBuyList(const std::string &nick) const return; const std::string data("!buylist " + toString(tick_time)); +// +++ need move to tmwa +#ifdef TMWA_SUPPORT shopWindow->setAcceptPlayer(nick); +#endif if (config.getBoolValue("hideShopMessages")) { -- cgit v1.2.3-60-g2f50