From 76d29de34885538c1e906d9756e677d668d49fe0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 25 Aug 2016 17:46:25 +0300 Subject: Mark some methongs in BuyDialog for tmwa only. --- src/gui/windows/buydialog.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui/windows/buydialog.h') diff --git a/src/gui/windows/buydialog.h b/src/gui/windows/buydialog.h index fd346f53a..1c6480ec6 100644 --- a/src/gui/windows/buydialog.h +++ b/src/gui/windows/buydialog.h @@ -70,12 +70,14 @@ class BuyDialog final : public Window, */ explicit BuyDialog(const BeingId npcId); +#ifdef TMWA_SUPPORT /** * Constructor. * * @see Window::Window */ explicit BuyDialog(std::string nick); +#endif // TMWA_SUPPORT /** * Constructor. @@ -93,7 +95,9 @@ class BuyDialog final : public Window, enum { +#ifdef TMWA_SUPPORT Nick = -1, +#endif // TMWA_SUPPORT Items = -2, Market = -3, Cash = -4, -- cgit v1.2.3-60-g2f50