summaryrefslogtreecommitdiff
path: root/src/gui/windows/buydialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-25 17:46:25 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-25 17:46:25 +0300
commit76d29de34885538c1e906d9756e677d668d49fe0 (patch)
treede29b0607bf2bb1dfb2e3bf0e14e7f4b6f79797d /src/gui/windows/buydialog.h
parent1298d827ce0d1e8bf4c470d6cf8177e0b2035385 (diff)
downloadmv-76d29de34885538c1e906d9756e677d668d49fe0.tar.gz
mv-76d29de34885538c1e906d9756e677d668d49fe0.tar.bz2
mv-76d29de34885538c1e906d9756e677d668d49fe0.tar.xz
mv-76d29de34885538c1e906d9756e677d668d49fe0.zip
Mark some methongs in BuyDialog for tmwa only.
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,