diff options
Diffstat (limited to 'src/game/MiscHandler.cpp')
-rw-r--r-- | src/game/MiscHandler.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/game/MiscHandler.cpp b/src/game/MiscHandler.cpp index 52853c57fd3..cf9515c3db9 100644 --- a/src/game/MiscHandler.cpp +++ b/src/game/MiscHandler.cpp @@ -1416,10 +1416,8 @@ void WorldSession::HandleFarSightOpcode( WorldPacket & recv_data ) sLog.outDebug("Unhandled mode in CMSG_FAR_SIGHT: %u", apply); return; } - // Update visibility after vision change - //Cell cell(pair); - //GetPlayer()->GetMap()->UpdateObjectsVisibilityFor(_player, cell, pair); - GetPlayer()->SetToNotify(); + + GetPlayer()->UpdateVisibilityForPlayer(); } void WorldSession::HandleSetTitleOpcode( WorldPacket & recv_data ) |