aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/champion.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/dm/champion.h')
-rw-r--r--engines/dm/champion.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/dm/champion.h b/engines/dm/champion.h
index 89a1d059b9..0c8a46fae0 100644
--- a/engines/dm/champion.h
+++ b/engines/dm/champion.h
@@ -297,6 +297,7 @@ public:
void setStatistic(ChampionStatisticType type, ChampionStatisticValue valType, byte newVal) { _statistics[type][valType] = newVal; }
uint16 getAttributes() { return _attributes; }
+ uint16 getAttributes(ChampionAttribute flag) { return _attributes & flag; }
void setAttributeFlag(ChampionAttribute flag, bool value) {
if (value) {
_attributes |= flag;