summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-07-12 21:37:37 -0600
committerJared Adams <jaxad0127@gmail.com>2009-07-12 21:37:37 -0600
commit05257eec9413ac954a50f94a69e2f44c1c3d340f (patch)
tree70a2b1999041a9c5c85f7889a8e1727a312e0bca /src
parent8388b59793ed88f0a67b2cee1dce9865ae46c1d5 (diff)
downloadmana-05257eec9413ac954a50f94a69e2f44c1c3d340f.tar.gz
mana-05257eec9413ac954a50f94a69e2f44c1c3d340f.tar.bz2
mana-05257eec9413ac954a50f94a69e2f44c1c3d340f.tar.xz
mana-05257eec9413ac954a50f94a69e2f44c1c3d340f.zip
Make sure modifiable skills are visible
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 f00982cd..fee40349 100644
--- a/src/gui/skilldialog.cpp
+++ b/src/gui/skilldialog.cpp
@@ -298,7 +298,7 @@ void SkillEntry::update()
int effLevel = player_node->getAttributeEffective(mInfo->id);
- if (baseLevel <= 0)
+ if (baseLevel <= 0 && !mInfo->modifiable)
{
setVisible(false);
return;