summaryrefslogtreecommitdiff
path: root/src/gui/sell.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2005-09-19 12:28:42 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2005-09-19 12:28:42 +0000
commit2c4d4ecc19fc8308b2772e4ffe6570ca362264d1 (patch)
treea4b6d78a89bfd12b3667129bd0bae63a805682cd /src/gui/sell.cpp
parentcf0f74488b0f2057bc535774dc6a2c871311932f (diff)
downloadmana-2c4d4ecc19fc8308b2772e4ffe6570ca362264d1.tar.gz
mana-2c4d4ecc19fc8308b2772e4ffe6570ca362264d1.tar.bz2
mana-2c4d4ecc19fc8308b2772e4ffe6570ca362264d1.tar.xz
mana-2c4d4ecc19fc8308b2772e4ffe6570ca362264d1.zip
Got rid of writeSet() calls.
Diffstat (limited to 'src/gui/sell.cpp')
-rw-r--r--src/gui/sell.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/sell.cpp b/src/gui/sell.cpp
index c3596503..73880861 100644
--- a/src/gui/sell.cpp
+++ b/src/gui/sell.cpp
@@ -41,7 +41,6 @@
#include "../resources/itemmanager.h"
#include "../net/messageout.h"
-#include "../net/network.h"
#include "../net/protocol.h"
@@ -237,7 +236,6 @@ void SellDialog::action(const std::string& eventId)
outMsg.writeShort(8);
outMsg.writeShort(shopInventory[selectedItem].index);
outMsg.writeShort(m_amountItems);
- writeSet(8);
m_maxItems -= m_amountItems;
m_amountItems = 0;