summaryrefslogtreecommitdiff
path: root/src/gui/buysell.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-28 12:55:51 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-28 12:55:51 -0600
commitf7b0dd65a06ae7785c25659850584964565da3ff (patch)
tree67c18d29ae6df181c1ca306a0736cddab7bf8f85 /src/gui/buysell.cpp
parentdf095c66fdf7af74849454dbf8c4c2284616ecd7 (diff)
downloadmana-f7b0dd65a06ae7785c25659850584964565da3ff.tar.gz
mana-f7b0dd65a06ae7785c25659850584964565da3ff.tar.bz2
mana-f7b0dd65a06ae7785c25659850584964565da3ff.tar.xz
mana-f7b0dd65a06ae7785c25659850584964565da3ff.zip
Make the BuySellWindow eAthena only
Diffstat (limited to 'src/gui/buysell.cpp')
-rw-r--r--src/gui/buysell.cpp15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/gui/buysell.cpp b/src/gui/buysell.cpp
index 8fffd3d5..a0e2fc93 100644
--- a/src/gui/buysell.cpp
+++ b/src/gui/buysell.cpp
@@ -19,17 +19,16 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "button.h"
#include "buysell.h"
-#include "../npc.h"
+#include "npc.h"
-#include "../net/messageout.h"
-#ifdef EATHENA_SUPPORT
-#include "../net/ea/protocol.h"
-#endif
+#include "gui/button.h"
-#include "../utils/gettext.h"
+#include "net/messageout.h"
+#include "net/ea/protocol.h"
+
+#include "utils/gettext.h"
BuySellDialog::BuySellDialog():
Window(_("Shop"))
@@ -96,9 +95,7 @@ void BuySellDialog::action(const gcn::ActionEvent &event)
return;
}
-#ifdef EATHENA_SUPPORT
MessageOut outMsg(CMSG_NPC_BUY_SELL_REQUEST);
outMsg.writeInt32(current_npc);
outMsg.writeInt8(action);
-#endif
}