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/status.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/status.cpp')
-rw-r--r-- | src/gui/status.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/status.cpp b/src/gui/status.cpp index 92ae2916..ad50c72f 100644 --- a/src/gui/status.cpp +++ b/src/gui/status.cpp @@ -269,17 +269,17 @@ void StatusWindow::action(const gcn::ActionEvent &event) if (event.getId().length() == 3) { if (event.getId() == "STR") - playerHandler->increaseStat(LocalPlayer::STR); + Net::getPlayerHandler()->increaseStat(LocalPlayer::STR); if (event.getId() == "AGI") - playerHandler->increaseStat(LocalPlayer::AGI); + Net::getPlayerHandler()->increaseStat(LocalPlayer::AGI); if (event.getId() == "VIT") - playerHandler->increaseStat(LocalPlayer::VIT); + Net::getPlayerHandler()->increaseStat(LocalPlayer::VIT); if (event.getId() == "INT") - playerHandler->increaseStat(LocalPlayer::INT); + Net::getPlayerHandler()->increaseStat(LocalPlayer::INT); if (event.getId() == "DEX") - playerHandler->increaseStat(LocalPlayer::DEX); + Net::getPlayerHandler()->increaseStat(LocalPlayer::DEX); if (event.getId() == "LUK") - playerHandler->increaseStat(LocalPlayer::LUK); + Net::getPlayerHandler()->increaseStat(LocalPlayer::LUK); } } |