From 243f33b5eae4e5dc96e8134c650ea74daa07ee35 Mon Sep 17 00:00:00 2001 From: n0n4m3 Date: Sat, 19 Dec 2009 10:12:40 +0100 Subject: Implement new visibility system, based on Silverice patch for mangos --HG-- branch : trunk --- src/game/Object.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/game/Object.cpp') diff --git a/src/game/Object.cpp b/src/game/Object.cpp index f3cff243e93..0c8c215d09a 100644 --- a/src/game/Object.cpp +++ b/src/game/Object.cpp @@ -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) { } -- cgit v1.2.3