summaryrefslogtreecommitdiff
path: root/src/gui/windows/buydialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/buydialog.h')
-rw-r--r--src/gui/windows/buydialog.h4
1 files changed, 4 insertions, 0 deletions
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,