aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r--src/game/Player.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index cbd5003e12b..e1b24794cac 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -2070,7 +2070,8 @@ void Player::SetGameMaster(bool on)
getHostilRefManager().setOnlineOfflineState(true);
}
- ObjectAccessor::UpdateVisibilityForPlayer(this);
+ //ObjectAccessor::UpdateVisibilityForPlayer(this);
+ SetToNotify();
}
void Player::SetGMVisible(bool on)
@@ -3851,7 +3852,8 @@ void Player::ResurrectPlayer(float restore_percent, bool applySickness)
}
// update visibility
- ObjectAccessor::UpdateVisibilityForPlayer(this);
+ //ObjectAccessor::UpdateVisibilityForPlayer(this);
+ SetToNotify();
// some items limited to specific map
DestroyZoneLimitedItem( true, GetZoneId());