summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2006-11-05 01:47:44 +0000
committerYohann Ferreira <bertram@cegetel.net>2006-11-05 01:47:44 +0000
commit9e70df3a6ac53f9900f7e4cbf6dbe40e53e0ddc1 (patch)
treeba0bf36049b125030e0bb2e26e7f755fe8f98723 /src/net
parent6a1702f014db23b5330e9b93e773b652d03c2ed1 (diff)
downloadmana-9e70df3a6ac53f9900f7e4cbf6dbe40e53e0ddc1.tar.gz
mana-9e70df3a6ac53f9900f7e4cbf6dbe40e53e0ddc1.tar.bz2
mana-9e70df3a6ac53f9900f7e4cbf6dbe40e53e0ddc1.tar.xz
mana-9e70df3a6ac53f9900f7e4cbf6dbe40e53e0ddc1.zip
Added item's pictures in sell dialogs, and precisions about the total money in it.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/buysellhandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/buysellhandler.cpp b/src/net/buysellhandler.cpp
index b10c7ab9..d7f063a7 100644
--- a/src/net/buysellhandler.cpp
+++ b/src/net/buysellhandler.cpp
@@ -89,6 +89,7 @@ void BuySellHandler::handleMessage(MessageIn *msg)
msg->readInt16(); // length
n_items = (msg->getLength() - 4) / 10;
if (n_items > 0) {
+ sellDialog->setMoney(player_node->mGp);
sellDialog->reset();
sellDialog->setVisible(true);