summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2008-11-22 01:56:05 +0000
committerIra Rice <irarice@gmail.com>2008-11-22 01:56:05 +0000
commit73ccb1a8eacd7cb339eca67d7312107739f03605 (patch)
tree7c08db85553087b13bb6a7d286c399000a974ee0 /src/net
parentf5c0ed3ec4216219494121721a4cce0c7ec4fb34 (diff)
downloadmana-client-73ccb1a8eacd7cb339eca67d7312107739f03605.tar.gz
mana-client-73ccb1a8eacd7cb339eca67d7312107739f03605.tar.bz2
mana-client-73ccb1a8eacd7cb339eca67d7312107739f03605.tar.xz
mana-client-73ccb1a8eacd7cb339eca67d7312107739f03605.zip
While there is still a small visual artifact, this patch fixes the buy
window so that it properly reports how much money you have.
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 b464e69f..ad613889 100644
--- a/src/net/buysellhandler.cpp
+++ b/src/net/buysellhandler.cpp
@@ -113,6 +113,7 @@ void BuySellHandler::handleMessage(MessageIn *msg)
if (msg->readInt8() == 0) {
chatWindow->chatLog("Thanks for buying", BY_SERVER);
} else {
+ buyDialog->setMoney(player_node->mGp);
chatWindow->chatLog("Unable to buy", BY_SERVER);
}
break;