summaryrefslogtreecommitdiff
path: root/src/statuseffect.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-01 16:15:31 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-01 16:15:31 +0300
commit7abf9198788c8ec476c6099faf7ebd25be372655 (patch)
tree52629718dc762bfd772e3304c98f155869bcd574 /src/statuseffect.h
parent7afb9df4a8fdecc0d6b93a7dbd7044e0f6a358f3 (diff)
downloadplus-7abf9198788c8ec476c6099faf7ebd25be372655.tar.gz
plus-7abf9198788c8ec476c6099faf7ebd25be372655.tar.bz2
plus-7abf9198788c8ec476c6099faf7ebd25be372655.tar.xz
plus-7abf9198788c8ec476c6099faf7ebd25be372655.zip
Show enabled status effects in player popups.
Diffstat (limited to 'src/statuseffect.h')
-rw-r--r--src/statuseffect.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/statuseffect.h b/src/statuseffect.h
index cb9641074..136e4c7fe 100644
--- a/src/statuseffect.h
+++ b/src/statuseffect.h
@@ -69,6 +69,9 @@ class StatusEffect final
*/
std::string getAction() const A_WARN_UNUSED;
+ std::string getName() const A_WARN_UNUSED
+ { return mName; }
+
/**
* Determines whether the particle effect should be restarted when the
* being changes maps
@@ -134,6 +137,7 @@ class StatusEffect final
std::string mParticleEffect;
std::string mIcon;
std::string mAction;
+ std::string mName;
bool mPersistentParticleEffect;
bool mIsPoison;
bool mIsCart;