summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-15 22:23:03 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-15 22:23:03 +0300
commitf39bae9825936b3205396ee32fc50393c48d608f (patch)
treeb10525ff11669bb639a3db751508a4b9942ecc55 /src/resources
parent1a934c4064abc2675fe199ff906dd08e6fcc0a85 (diff)
downloadmanaverse-f39bae9825936b3205396ee32fc50393c48d608f.tar.gz
manaverse-f39bae9825936b3205396ee32fc50393c48d608f.tar.bz2
manaverse-f39bae9825936b3205396ee32fc50393c48d608f.tar.xz
manaverse-f39bae9825936b3205396ee32fc50393c48d608f.zip
Dont show on start skill tabs without skills.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/skill/skillinfo.cpp1
-rw-r--r--src/resources/skill/skillinfo.h2
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;