Fix issues with Client::SetHideMe (#2403)

Arg was shadowing the member variable and we weren't updating the member
variable
This commit is contained in:
Michael Cook (mackal)
2022-09-01 11:48:23 -04:00
committed by GitHub
parent 6f7fa98996
commit c613dbb2f7
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -348,7 +348,7 @@ public:
int GetIPExemption();
void SetIPExemption(int exemption_amount);
inline bool GetHideMe() const { return gm_hide_me; }
void SetHideMe(bool hm);
void SetHideMe(bool flag);
inline uint16 GetPort() const { return port; }
bool IsDead() const { return(dead); }
bool IsUnconscious() const { return ((current_hp <= 0) ? true : false); }