diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-27 16:26:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-27 16:26:21 +0300 |
commit | 32947c0634ec582f6d641402433d2037f5087a36 (patch) | |
tree | 776923ebcb5f52f663a622bac8b578d20833c511 /src/net | |
parent | 8b1e42a9e0d311d9c393ebceef1d508cbc8ad324 (diff) | |
download | plus-32947c0634ec582f6d641402433d2037f5087a36.tar.gz plus-32947c0634ec582f6d641402433d2037f5087a36.tar.bz2 plus-32947c0634ec582f6d641402433d2037f5087a36.tar.xz plus-32947c0634ec582f6d641402433d2037f5087a36.zip |
Fix compilation with eathena only.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ea/buysellhandler.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
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")) { |