diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-04-06 08:12:03 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-04-06 08:14:37 -0600 |
commit | ffe62a721cf3c17b815da591af753e1424003a77 (patch) | |
tree | 6b3bd4dcec199ef10e138b7755d1c853db85a7d7 /src/gui/trade.cpp | |
parent | 004b2853d37a18a67c348c29e4500f3ef68337b5 (diff) | |
download | mana-ffe62a721cf3c17b815da591af753e1424003a77.tar.gz mana-ffe62a721cf3c17b815da591af753e1424003a77.tar.bz2 mana-ffe62a721cf3c17b815da591af753e1424003a77.tar.xz mana-ffe62a721cf3c17b815da591af753e1424003a77.zip |
Add TMWServ's SkillHandler
Also namespace both Player- and TradeHandlers
Diffstat (limited to 'src/gui/trade.cpp')
-rw-r--r-- | src/gui/trade.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/trade.cpp b/src/gui/trade.cpp index 504396c5..f931b81b 100644 --- a/src/gui/trade.cpp +++ b/src/gui/trade.cpp @@ -307,15 +307,14 @@ void TradeWindow::action(const gcn::ActionEvent &event) { mMoneyField->setText(toString(tempInt)); - // Net::getTradeHandler()->setMoney(tempInt); - tradeHandler->setMoney(tempInt); + Net::getTradeHandler()->setMoney(tempInt); } else { mMoneyField->setText(""); } mMoneyField->setEnabled(false); - tradeHandler->confirm(); + Net::getTradeHandler()->confirm(); } #endif else if (event.getId() == "trade") |