summaryrefslogtreecommitdiff
path: root/src/gui/popupmenu.cpp
diff options
context:
space:
mode:
authorAndrej Sinicyn <andrej4000@gmail.com>2005-08-01 07:21:41 +0000
committerAndrej Sinicyn <andrej4000@gmail.com>2005-08-01 07:21:41 +0000
commit15e4760a93edd430053cbad5d638b68593b61bc0 (patch)
tree09d5446aa77ad63a58e58c27aa673d80afbf9daf /src/gui/popupmenu.cpp
parent29d6fcc83972ce7b862b7abd0cc7652602cc390e (diff)
downloadmana-15e4760a93edd430053cbad5d638b68593b61bc0.tar.gz
mana-15e4760a93edd430053cbad5d638b68593b61bc0.tar.bz2
mana-15e4760a93edd430053cbad5d638b68593b61bc0.tar.xz
mana-15e4760a93edd430053cbad5d638b68593b61bc0.zip
Show the name of the trade partner in the trade dialog.
Diffstat (limited to 'src/gui/popupmenu.cpp')
-rw-r--r--src/gui/popupmenu.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp
index e852e9aa..bd178ce1 100644
--- a/src/gui/popupmenu.cpp
+++ b/src/gui/popupmenu.cpp
@@ -132,6 +132,9 @@ void PopupMenu::handleLink(const std::string& link)
WFIFOW(0) = net_w_value(0x00e4);
WFIFOL(2) = net_l_value(being->getId());
WFIFOSET(6);
+ //tradePartner.flush();
+ //tradePartner << "Trade: You and " << being->name<< "";
+ strcpy(tradePartnerName, being->name);
}
/*
// Follow Player action