From c958cb619f667851b188b8c169d0fcb14500f6de Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Sep 2014 17:37:05 +0300 Subject: Into skillinto add owner field. --- src/gui/widgets/skillinfo.cpp | 1 + src/gui/widgets/skillinfo.h | 2 ++ 2 files changed, 3 insertions(+) (limited to 'src/gui') 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 @@ -61,6 +62,7 @@ struct SkillInfo final int durationTime; int cooldown; SkillType::SkillType type; + SkillOwner::Type owner; bool modifiable; bool visible; -- cgit v1.2.3-70-g09d2