summaryrefslogtreecommitdiff
path: root/src/avatar.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-25 23:56:55 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-25 23:56:55 +0300
commit7cf334f49fe9157aabeef8eb1e69e115749d1b8f (patch)
tree7b5bb97a0b3079bf7e1aa6dcf277f8989952f98d /src/avatar.h
parente0ad1f9076f322f18b54c4f1e0894a9cdd52937c (diff)
downloadmanaverse-7cf334f49fe9157aabeef8eb1e69e115749d1b8f.tar.gz
manaverse-7cf334f49fe9157aabeef8eb1e69e115749d1b8f.tar.bz2
manaverse-7cf334f49fe9157aabeef8eb1e69e115749d1b8f.tar.xz
manaverse-7cf334f49fe9157aabeef8eb1e69e115749d1b8f.zip
If player poisoned, hightlight his life bar in social window with special color.
Diffstat (limited to 'src/avatar.h')
-rw-r--r--src/avatar.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/avatar.h b/src/avatar.h
index 9804b318e..03050a06f 100644
--- a/src/avatar.h
+++ b/src/avatar.h
@@ -172,6 +172,12 @@ public:
void setIp(std::string ip)
{ mIp = ip; }
+ bool getPoison() const A_WARN_UNUSED
+ { return mPoison; }
+
+ void setPoison(const bool b)
+ { mPoison = b; }
+
protected:
int mId;
int mCharId;
@@ -191,6 +197,7 @@ protected:
std::string mIp;
bool mOnline;
bool mDisplayBold;
+ bool mPoison;
};
#endif // AVATAR_H