Mercurial > mm7
diff Player.h @ 1258:eb1a22f7dfef
Player::SetVariable cleanup - removed some labels at the cost of 2 extra small functions
author | Grumpy7 |
---|---|
date | Wed, 12 Jun 2013 03:59:08 +0200 |
parents | 502b8b2e36b4 |
children | d6e5b6b76612 |
line wrap: on
line diff
--- a/Player.h Tue Jun 11 23:10:30 2013 +0200 +++ b/Player.h Wed Jun 12 03:59:08 2013 +0200 @@ -590,6 +590,8 @@ void SalesProcess(unsigned int inventory_idnx, int item_index, int _2devent_idx);//0x4BE2DD bool Recover(signed int a2); bool CanCastSpell(unsigned int uRequiredMana); + void PlaySoundBasedOnCondition(bool condition, int currPlayerId); + void DrawPlayerBuffAnimBasedOnCondition(bool condition, int currPlayerId); inline bool Weak() {return pConditions[Condition_Weak] != 0;} inline bool Dead() {return pConditions[Condition_Dead] != 0;} @@ -619,7 +621,6 @@ - __int64 pConditions[20]; unsigned __int64 uExperience; char pName[16];