From f5a4406eaa3574ba7661b8282afcb2f10ec538c0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 10 Jan 2011 03:39:04 +0200 Subject: Fix skill points updating. --- src/net/tmwa/playerhandler.cpp | 3 +++ 1 file changed, 3 insertions(+) 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) -- cgit v1.2.3-60-g2f50