diff options
author | megamage <none@none> | 2008-12-20 17:42:40 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-12-20 17:42:40 -0600 |
commit | 55ef3bca2ae79d87d2e08e80bf29eec38892545f (patch) | |
tree | bd0c1139a825f712305440b58e8cd184d3ec0e29 /src/game/Player.cpp | |
parent | b7be6cb6da831b96ec9fae8442803f06ac3f7971 (diff) |
*Update visibility only once per update.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r-- | src/game/Player.cpp | 6 |
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()); |