From 7cf334f49fe9157aabeef8eb1e69e115749d1b8f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 25 Mar 2014 23:56:55 +0300 Subject: If player poisoned, hightlight his life bar in social window with special color. --- src/avatar.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/avatar.h') 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 -- cgit v1.2.3-70-g09d2