summaryrefslogtreecommitdiff
path: root/src/gui/windows/buydialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-06 19:39:50 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-06 19:39:50 +0300
commiteb49768b0908dcd90f26a6bb381e864d0cd5e550 (patch)
tree184640d5205d9c8a936e5c05d33fff2329ed8531 /src/gui/windows/buydialog.cpp
parent5cfc73dc5c0093a96c45f604a028ecca21a01af8 (diff)
downloadplus-eb49768b0908dcd90f26a6bb381e864d0cd5e550.tar.gz
plus-eb49768b0908dcd90f26a6bb381e864d0cd5e550.tar.bz2
plus-eb49768b0908dcd90f26a6bb381e864d0cd5e550.tar.xz
plus-eb49768b0908dcd90f26a6bb381e864d0cd5e550.zip
Fix compilation with different flags.
Diffstat (limited to 'src/gui/windows/buydialog.cpp')
-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);
}