summaryrefslogtreecommitdiff
path: root/src/net/tmwa/specialhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/specialhandler.cpp')
-rw-r--r--src/net/tmwa/specialhandler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/tmwa/specialhandler.cpp b/src/net/tmwa/specialhandler.cpp
index c5f5d540..bcf5ba44 100644
--- a/src/net/tmwa/specialhandler.cpp
+++ b/src/net/tmwa/specialhandler.cpp
@@ -107,7 +107,8 @@ void SpecialHandler::handleMessage(Net::MessageIn &msg)
player_node->setAttributeBase(skillId, level);
player_node->setAttributeEffective(skillId, level);
- skillDialog->setModifiable(skillId, up);
+ if (skillDialog)
+ skillDialog->setModifiable(skillId, up);
}
break;