diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-25 23:56:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-25 23:56:55 +0300 |
commit | 7cf334f49fe9157aabeef8eb1e69e115749d1b8f (patch) | |
tree | 7b5bb97a0b3079bf7e1aa6dcf277f8989952f98d /src/avatar.cpp | |
parent | e0ad1f9076f322f18b54c4f1e0894a9cdd52937c (diff) | |
download | manaplus-7cf334f49fe9157aabeef8eb1e69e115749d1b8f.tar.gz manaplus-7cf334f49fe9157aabeef8eb1e69e115749d1b8f.tar.bz2 manaplus-7cf334f49fe9157aabeef8eb1e69e115749d1b8f.tar.xz manaplus-7cf334f49fe9157aabeef8eb1e69e115749d1b8f.zip |
If player poisoned, hightlight his life bar in social window with special color.
Diffstat (limited to 'src/avatar.cpp')
-rw-r--r-- | src/avatar.cpp | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/src/avatar.cpp b/src/avatar.cpp index 4c936ba7f..3e685f008 100644 --- a/src/avatar.cpp +++ b/src/avatar.cpp @@ -27,24 +27,25 @@ #include "debug.h" Avatar::Avatar(const std::string &name): - mId(0), - mCharId(0), - mName(name), - mOriginalName(name), - mHp(0), - mMaxHp(0), - mDamageHp(0), - mLevel(1), - mMap(), - mX(-1), - mY(-1), - mType(AVATAR_PLAYER), - mExp(0), - mGender(GENDER_UNSPECIFIED), - mRace(-1), - mIp(), - mOnline(false), - mDisplayBold(false) + mId(0), + mCharId(0), + mName(name), + mOriginalName(name), + mHp(0), + mMaxHp(0), + mDamageHp(0), + mLevel(1), + mMap(), + mX(-1), + mY(-1), + mType(AVATAR_PLAYER), + mExp(0), + mGender(GENDER_UNSPECIFIED), + mRace(-1), + mIp(), + mOnline(false), + mDisplayBold(false), + mPoison(false) { } |