summaryrefslogtreecommitdiff
path: root/src/gui/popupmenu.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/popupmenu.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/popupmenu.cpp')
-rw-r--r--src/gui/popupmenu.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp
index 29b599aa..7f72702e 100644
--- a/src/gui/popupmenu.cpp
+++ b/src/gui/popupmenu.cpp
@@ -41,7 +41,6 @@
#include "../item.h"
#include "../net/messageout.h"
-#include "../net/network.h"
#include "../net/protocol.h"
#include "../resources/iteminfo.h"
@@ -136,7 +135,6 @@ void PopupMenu::handleLink(const std::string& link)
outMsg.writeShort(CMSG_NPC_TALK);
outMsg.writeLong(being->getId());
outMsg.writeByte(0);
- writeSet(7);
current_npc = being->getId();
}
@@ -146,7 +144,6 @@ void PopupMenu::handleLink(const std::string& link)
MessageOut outMsg;
outMsg.writeShort(CMSG_TRADE_REQUEST);
outMsg.writeLong(being->getId());
- writeSet(6);
//tradePartner.flush();
//tradePartner << "Trade: You and " << being->name<< "";
tradePartnerName = being->getName();
@@ -182,7 +179,6 @@ void PopupMenu::handleLink(const std::string& link)
MessageOut outMsg;
outMsg.writeShort(CMSG_ITEM_PICKUP);
outMsg.writeLong(floorItem->getId());
- writeSet(6);
}
// Look To action