diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-20 17:37:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-20 17:37:05 +0300 |
commit | c958cb619f667851b188b8c169d0fcb14500f6de (patch) | |
tree | 71b06cb11b88503f7eea30303765ae0ed1f720c5 /src/gui | |
parent | a4e455a2ce74cac174bf1ae00f4f95e2b65c7374 (diff) | |
download | plus-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.cpp | 1 | ||||
-rw-r--r-- | src/gui/widgets/skillinfo.h | 2 |
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; |