diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2008-02-22 15:58:41 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2008-02-22 15:58:41 +0000 |
commit | 49eb5c5779885e6b7580c0e8459609fb228c3ec8 (patch) | |
tree | 7ceef20e0f4e5d6797a15d4f9437ae6acec85ade /src/gui | |
parent | 3f0b0c1216f5e7a8947ff84f028c5c68e872636d (diff) | |
download | mana-49eb5c5779885e6b7580c0e8459609fb228c3ec8.tar.gz mana-49eb5c5779885e6b7580c0e8459609fb228c3ec8.tar.bz2 mana-49eb5c5779885e6b7580c0e8459609fb228c3ec8.tar.xz mana-49eb5c5779885e6b7580c0e8459609fb228c3ec8.zip |
Implemented skill name display in skill dialog and xp messages (based on a patch by rodge)
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/skill.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/skill.cpp b/src/gui/skill.cpp index 7e1ed49d..28a18723 100644 --- a/src/gui/skill.cpp +++ b/src/gui/skill.cpp @@ -102,7 +102,8 @@ void SkillDialog::update() std::pair<int, int> exp = player_node->getExperience(a); std::string sExp (toString(exp.first) + " / " + toString(exp.second)); - mSkillNameLabels.at(a)->setCaption("Skill" + toString(a)); + + mSkillNameLabels.at(a)->setCaption(LocalPlayer::getSkillName(a)); mSkillNameLabels.at(a)->adjustSize(); mSkillLevelLabels.at(a)->setCaption(skillLevel); mSkillLevelLabels.at(a)->adjustSize(); |