diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-05 11:02:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-06 01:18:57 +0300 |
commit | feeddcb6fe41864d862b9e36e503d3ace07eb76d (patch) | |
tree | f32d3727ffbb566f9fcdc5ce3a6e08ba16b88a7e /src/gui/windows/skilldialog.h | |
parent | 78edce93375df12e878b69af829f37a84c5c86d5 (diff) | |
download | ManaVerse-feeddcb6fe41864d862b9e36e503d3ace07eb76d.tar.gz ManaVerse-feeddcb6fe41864d862b9e36e503d3ace07eb76d.tar.bz2 ManaVerse-feeddcb6fe41864d862b9e36e503d3ace07eb76d.tar.xz ManaVerse-feeddcb6fe41864d862b9e36e503d3ace07eb76d.zip |
allow use unknown skills.
Move skill usage code into separate method.
Diffstat (limited to 'src/gui/windows/skilldialog.h')
-rw-r--r-- | src/gui/windows/skilldialog.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windows/skilldialog.h b/src/gui/windows/skilldialog.h index e0ed1f1b2..394679d1b 100644 --- a/src/gui/windows/skilldialog.h +++ b/src/gui/windows/skilldialog.h @@ -95,6 +95,8 @@ class SkillDialog final : public Window, void playUpdateEffect(const int id) const; + static void useSkill(const SkillInfo *const info); + private: typedef std::map<int, SkillInfo*> SkillMap; SkillMap mSkills; |