LUA/PERL - IsStanding() and IsCrouching() - Returns as bools

This commit is contained in:
Trust
2019-06-08 04:48:06 +00:00
parent 2690e4de4d
commit d23a6e646e
4 changed files with 70 additions and 0 deletions
+2
View File
@@ -791,7 +791,9 @@ public:
uint32 GetCharMaxLevelFromQGlobal();
uint32 GetCharMaxLevelFromBucket();
inline bool IsStanding() const {return (playeraction == 0);}
inline bool IsSitting() const {return (playeraction == 1);}
inline bool IsCrouching() const {return (playeraction == 2);}
inline bool IsBecomeNPC() const { return npcflag; }
inline uint8 GetBecomeNPCLevel() const { return npclevel; }
inline void SetBecomeNPC(bool flag) { npcflag = flag; }