mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 03:31:08 +00:00
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:
committed by
GitHub
parent
6f7fa98996
commit
c613dbb2f7
+3
-1
@@ -3385,10 +3385,12 @@ void Client::SetTint(int16 in_slot, EQ::textures::Tint_Struct& color) {
|
||||
|
||||
}
|
||||
|
||||
void Client::SetHideMe(bool gm_hide_me)
|
||||
void Client::SetHideMe(bool flag)
|
||||
{
|
||||
EQApplicationPacket app;
|
||||
|
||||
gm_hide_me = flag;
|
||||
|
||||
if (gm_hide_me) {
|
||||
database.SetHideMe(AccountID(), true);
|
||||
CreateDespawnPacket(&app, false);
|
||||
|
||||
Reference in New Issue
Block a user