summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-01-27 00:53:52 +0300
committerAndrei Karas <akaras@inbox.ru>2013-01-27 00:53:52 +0300
commitcd6585887c19eda357328c704fa7e426029392e8 (patch)
treee427d81f2c735ebc1bf0c14889fd953dc31b4d8b /src
parent63464e42c9c2a23be25a828c5834bcb68004c278 (diff)
downloadmanaverse-cd6585887c19eda357328c704fa7e426029392e8.tar.gz
manaverse-cd6585887c19eda357328c704fa7e426029392e8.tar.bz2
manaverse-cd6585887c19eda357328c704fa7e426029392e8.tar.xz
manaverse-cd6585887c19eda357328c704fa7e426029392e8.zip
Add missing check to skilldialog.
Diffstat (limited to 'src')
-rw-r--r--src/gui/skilldialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/skilldialog.cpp b/src/gui/skilldialog.cpp
index 3f5a00e61..29b9cb3db 100644
--- a/src/gui/skilldialog.cpp
+++ b/src/gui/skilldialog.cpp
@@ -583,7 +583,7 @@ void SkillModel::updateVisibilities()
FOR_EACH (SkillList::const_iterator, it, mSkills)
{
- if ((*it)->visible)
+ if ((*it) && (*it)->visible)
mVisibleSkills.push_back((*it));
}
}