summaryrefslogtreecommitdiff
path: root/src/net/tmwa/playerhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-01-10 03:39:04 +0200
committerAndrei Karas <akaras@inbox.ru>2011-01-10 03:39:04 +0200
commitf5a4406eaa3574ba7661b8282afcb2f10ec538c0 (patch)
treec278b0af2fdeb5c6bc5baec5ca0687b091c20a4a /src/net/tmwa/playerhandler.cpp
parentc674793a8657aa099c9637c92f8696f230c327ca (diff)
downloadmanaplus-f5a4406eaa3574ba7661b8282afcb2f10ec538c0.tar.gz
manaplus-f5a4406eaa3574ba7661b8282afcb2f10ec538c0.tar.bz2
manaplus-f5a4406eaa3574ba7661b8282afcb2f10ec538c0.tar.xz
manaplus-f5a4406eaa3574ba7661b8282afcb2f10ec538c0.zip
Fix skill points updating.
Diffstat (limited to 'src/net/tmwa/playerhandler.cpp')
-rw-r--r--src/net/tmwa/playerhandler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp
index 1d0d3e67d..8ef19c373 100644
--- a/src/net/tmwa/playerhandler.cpp
+++ b/src/net/tmwa/playerhandler.cpp
@@ -35,6 +35,7 @@
#include "gui/npcdialog.h"
#include "gui/okdialog.h"
#include "gui/sell.h"
+#include "gui/skilldialog.h"
#include "gui/statuswindow.h"
#include "gui/viewport.h"
@@ -314,6 +315,8 @@ void PlayerHandler::handleMessage(Net::MessageIn &msg)
break;
case 0x000c:
PlayerInfo::setAttribute(SKILL_POINTS, value);
+ if (skillDialog)
+ skillDialog->update();
break;
case 0x0018:
if (!weightNotice)