diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-07-08 17:32:26 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-07-08 17:37:52 -0600 |
commit | 6c68287a7a66ba6933bc4dbfe43f6c4761e683c1 (patch) | |
tree | 203960dfdebe15cffff9abd7089441ecbf1965cf /src/net/ea/playerhandler.cpp | |
parent | 8963ef3e6d0ede6a3e22687642bbc39c24f21dad (diff) | |
download | mana-6c68287a7a66ba6933bc4dbfe43f6c4761e683c1.tar.gz mana-6c68287a7a66ba6933bc4dbfe43f6c4761e683c1.tar.bz2 mana-6c68287a7a66ba6933bc4dbfe43f6c4761e683c1.tar.xz mana-6c68287a7a66ba6933bc4dbfe43f6c4761e683c1.zip |
Have both builds use the same SkillDialog
Diffstat (limited to 'src/net/ea/playerhandler.cpp')
-rw-r--r-- | src/net/ea/playerhandler.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp index 40cfc71c..07b738ee 100644 --- a/src/net/ea/playerhandler.cpp +++ b/src/net/ea/playerhandler.cpp @@ -37,7 +37,6 @@ #include "gui/gui.h" #include "gui/okdialog.h" #include "gui/sell.h" -#include "gui/skill.h" #include "gui/storagewindow.h" #include "gui/viewport.h" @@ -233,8 +232,7 @@ void PlayerHandler::handleMessage(MessageIn &msg) break; case 0x000b: player_node->setLevel(value); break; case 0x000c: - player_node->mSkillPoint = value; - skillDialog->update(); + player_node->setSkillPoints(value); break; case 0x0018: if (value >= player_node->getMaxWeight() / 2 && |