summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/windows/buydialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/buydialog.cpp b/src/gui/windows/buydialog.cpp
index a7769482a..6d89e67d7 100644
--- a/src/gui/windows/buydialog.cpp
+++ b/src/gui/windows/buydialog.cpp
@@ -51,9 +51,9 @@
#ifdef EATHENA_SUPPORT
#include "net/cashshophandler.h"
#include "net/markethandler.h"
-#include "net/serverfeatures.h"
#include "net/vendinghandler.h"
#endif
+#include "net/serverfeatures.h"
#include "net/npchandler.h"
#include "resources/iteminfo.h"
@@ -598,8 +598,8 @@ void BuyDialog::action(const ActionEvent &event)
{
marketHandler->buyItems(items);
}
-#endif
else
+#endif
{
npcHandler->buyItems(items);
}