mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
Update visibility system
*visibility updates and ai relocations processed simultaneously for each grid *these operations now are not synchronized for different grids *some changes into structure of visibility notifiers --HG-- branch : trunk
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user