diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-09-19 12:28:42 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-09-19 12:28:42 +0000 |
commit | 2c4d4ecc19fc8308b2772e4ffe6570ca362264d1 (patch) | |
tree | a4b6d78a89bfd12b3667129bd0bae63a805682cd /src/gui/popupmenu.cpp | |
parent | cf0f74488b0f2057bc535774dc6a2c871311932f (diff) | |
download | mana-client-2c4d4ecc19fc8308b2772e4ffe6570ca362264d1.tar.gz mana-client-2c4d4ecc19fc8308b2772e4ffe6570ca362264d1.tar.bz2 mana-client-2c4d4ecc19fc8308b2772e4ffe6570ca362264d1.tar.xz mana-client-2c4d4ecc19fc8308b2772e4ffe6570ca362264d1.zip |
Got rid of writeSet() calls.
Diffstat (limited to 'src/gui/popupmenu.cpp')
-rw-r--r-- | src/gui/popupmenu.cpp | 4 |
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 |