summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/skillinfo.cpp1
-rw-r--r--src/gui/widgets/skillinfo.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/skillinfo.cpp b/src/gui/widgets/skillinfo.cpp
index 63849ac20..514555631 100644
--- a/src/gui/widgets/skillinfo.cpp
+++ b/src/gui/widgets/skillinfo.cpp
@@ -54,6 +54,7 @@ SkillInfo::SkillInfo() :
durationTime(0),
cooldown(0),
type(SkillType::Unknown),
+ owner(SkillOwner::Player),
modifiable(false),
visible(false)
{
diff --git a/src/gui/widgets/skillinfo.h b/src/gui/widgets/skillinfo.h
index 439608c17..d15d0fe97 100644
--- a/src/gui/widgets/skillinfo.h
+++ b/src/gui/widgets/skillinfo.h
@@ -25,6 +25,7 @@
#include "gui/color.h"
+#include "resources/skillowner.h"
#include "resources/skilltype.h"
#include <vector>
@@ -61,6 +62,7 @@ struct SkillInfo final
int durationTime;
int cooldown;
SkillType::SkillType type;
+ SkillOwner::Type owner;
bool modifiable;
bool visible;