diff options
Diffstat (limited to 'src/gui/windows/buydialog.cpp')
-rw-r--r-- | src/gui/windows/buydialog.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/windows/buydialog.cpp b/src/gui/windows/buydialog.cpp index e404a335b..8c0f90466 100644 --- a/src/gui/windows/buydialog.cpp +++ b/src/gui/windows/buydialog.cpp @@ -477,6 +477,7 @@ void BuyDialog::action(const ActionEvent &event) } else if (mNpcId == Nick) { +#ifdef EATHENA_SUPPORT if (serverFeatures->haveVending()) { Being *const being = actorManager->findBeingByName(mNick); @@ -491,6 +492,9 @@ void BuyDialog::action(const ActionEvent &event) } } else if (tradeWindow) +#else + if (tradeWindow) +#endif { if (item) { |