summaryrefslogtreecommitdiff
path: root/src/gui/trade.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-06 08:12:03 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-06 08:14:37 -0600
commitffe62a721cf3c17b815da591af753e1424003a77 (patch)
tree6b3bd4dcec199ef10e138b7755d1c853db85a7d7 /src/gui/trade.cpp
parent004b2853d37a18a67c348c29e4500f3ef68337b5 (diff)
downloadmana-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.cpp5
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")