summaryrefslogtreecommitdiff
path: root/src/gui/buy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/buy.cpp')
-rw-r--r--src/gui/buy.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/buy.cpp b/src/gui/buy.cpp
index c825c82e..185709d1 100644
--- a/src/gui/buy.cpp
+++ b/src/gui/buy.cpp
@@ -39,7 +39,6 @@
#include "../resources/itemmanager.h"
#include "../net/messageout.h"
-#include "../net/network.h"
#include "../net/protocol.h"
@@ -242,7 +241,6 @@ void BuyDialog::action(const std::string& eventId)
outMsg.writeShort(8);
outMsg.writeShort(m_amountItems);
outMsg.writeShort(shopInventory[selectedItem].id);
- writeSet(8);
// update money !
m_money -= m_amountItems * shopInventory[selectedItem].price;