diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-01-10 03:39:04 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-01-10 03:39:04 +0200 |
commit | f5a4406eaa3574ba7661b8282afcb2f10ec538c0 (patch) | |
tree | c278b0af2fdeb5c6bc5baec5ca0687b091c20a4a /src/net | |
parent | c674793a8657aa099c9637c92f8696f230c327ca (diff) | |
download | manaplus-f5a4406eaa3574ba7661b8282afcb2f10ec538c0.tar.gz manaplus-f5a4406eaa3574ba7661b8282afcb2f10ec538c0.tar.bz2 manaplus-f5a4406eaa3574ba7661b8282afcb2f10ec538c0.tar.xz manaplus-f5a4406eaa3574ba7661b8282afcb2f10ec538c0.zip |
Fix skill points updating.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/tmwa/playerhandler.cpp | 3 |
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) |