summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-20 17:37:05 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-20 17:37:05 +0300
commitc958cb619f667851b188b8c169d0fcb14500f6de (patch)
tree71b06cb11b88503f7eea30303765ae0ed1f720c5 /src/gui
parenta4e455a2ce74cac174bf1ae00f4f95e2b65c7374 (diff)
downloadplus-c958cb619f667851b188b8c169d0fcb14500f6de.tar.gz
plus-c958cb619f667851b188b8c169d0fcb14500f6de.tar.bz2
plus-c958cb619f667851b188b8c169d0fcb14500f6de.tar.xz
plus-c958cb619f667851b188b8c169d0fcb14500f6de.zip
Into skillinto add owner field.
Diffstat (limited to 'src/gui')
-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;