diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-08-14 12:48:59 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-08-14 12:48:59 +0000 |
commit | 1a68e441ec6d7d529b5c64bfafac56ae45d3f2fb (patch) | |
tree | 4289eb20d77c7975fef9f64898b8cdd4d3318193 /src/gui/trade.cpp | |
parent | f048a4dd4add4a710bb15f77eaedad93f625b0c4 (diff) | |
download | mana-1a68e441ec6d7d529b5c64bfafac56ae45d3f2fb.tar.gz mana-1a68e441ec6d7d529b5c64bfafac56ae45d3f2fb.tar.bz2 mana-1a68e441ec6d7d529b5c64bfafac56ae45d3f2fb.tar.xz mana-1a68e441ec6d7d529b5c64bfafac56ae45d3f2fb.zip |
Removed obsolete code. Added support for money received while trading.
Diffstat (limited to 'src/gui/trade.cpp')
-rw-r--r-- | src/gui/trade.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/trade.cpp b/src/gui/trade.cpp index 78204120..cf3ad1a5 100644 --- a/src/gui/trade.cpp +++ b/src/gui/trade.cpp @@ -131,7 +131,7 @@ TradeWindow::~TradeWindow() { } -void TradeWindow::addMoney(int amount) +void TradeWindow::setMoney(int amount) { mMoneyLabel->setCaption("You get: " + toString(amount) + "z"); mMoneyLabel->adjustSize(); |