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 | |
parent | c674793a8657aa099c9637c92f8696f230c327ca (diff) | |
download | plus-f5a4406eaa3574ba7661b8282afcb2f10ec538c0.tar.gz plus-f5a4406eaa3574ba7661b8282afcb2f10ec538c0.tar.bz2 plus-f5a4406eaa3574ba7661b8282afcb2f10ec538c0.tar.xz plus-f5a4406eaa3574ba7661b8282afcb2f10ec538c0.zip |
Fix skill points updating.
-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) |