From 73ccb1a8eacd7cb339eca67d7312107739f03605 Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Sat, 22 Nov 2008 01:56:05 +0000 Subject: While there is still a small visual artifact, this patch fixes the buy window so that it properly reports how much money you have. --- src/net/buysellhandler.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/net/buysellhandler.cpp') 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; -- cgit v1.2.3-70-g09d2