diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-12-15 22:23:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-12-15 22:23:03 +0300 |
commit | f39bae9825936b3205396ee32fc50393c48d608f (patch) | |
tree | b10525ff11669bb639a3db751508a4b9942ecc55 /src/resources/skill | |
parent | 1a934c4064abc2675fe199ff906dd08e6fcc0a85 (diff) | |
download | plus-f39bae9825936b3205396ee32fc50393c48d608f.tar.gz plus-f39bae9825936b3205396ee32fc50393c48d608f.tar.bz2 plus-f39bae9825936b3205396ee32fc50393c48d608f.tar.xz plus-f39bae9825936b3205396ee32fc50393c48d608f.zip |
Dont show on start skill tabs without skills.
Diffstat (limited to 'src/resources/skill')
-rw-r--r-- | src/resources/skill/skillinfo.cpp | 1 | ||||
-rw-r--r-- | src/resources/skill/skillinfo.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/skill/skillinfo.cpp b/src/resources/skill/skillinfo.cpp index b4dcc6600..c4efbff71 100644 --- a/src/resources/skill/skillinfo.cpp +++ b/src/resources/skill/skillinfo.cpp @@ -44,6 +44,7 @@ SkillInfo::SkillInfo() : castingWaterAction(), dataMap(), model(nullptr), + tab(nullptr), data(nullptr), level(0), customSelectedLevel(0), diff --git a/src/resources/skill/skillinfo.h b/src/resources/skill/skillinfo.h index f9712f9d8..3697eb826 100644 --- a/src/resources/skill/skillinfo.h +++ b/src/resources/skill/skillinfo.h @@ -39,6 +39,7 @@ struct SkillData; class SkillModel; +class SkillTab; typedef std::map<int, SkillData*> SkillDataMap; typedef SkillDataMap::iterator SkillDataMapIter; @@ -56,6 +57,7 @@ struct SkillInfo final std::string castingWaterAction; SkillDataMap dataMap; SkillModel *model; + SkillTab *tab; SkillData *data; int level; int customSelectedLevel; |