Implement new visibility system, based on Silverice patch for mangos

--HG--
branch : trunk
This commit is contained in:
n0n4m3
2009-12-19 10:12:40 +01:00
parent 7a3e524df2
commit 243f33b5ea
15 changed files with 553 additions and 165 deletions

View File

@@ -240,9 +240,6 @@ void Object::BuildUpdate(UpdateDataMapType &update_players)
void Object::SendUpdateToPlayer(Player* player)
{
// send update to another players
SendUpdateObjectToAllExcept(player);
// send create update to player
UpdateData upd;
WorldPacket packet;
@@ -1108,6 +1105,7 @@ WorldObject::WorldObject()
, m_zoneScript(NULL)
, m_isActive(false), m_isWorldObject(false)
, m_name("")
, m_notifyflags(0), m_executed_notifies(0)
{
}