aboutsummaryrefslogtreecommitdiff
path: root/src/game/Object.cpp
diff options
context:
space:
mode:
authorn0n4m3 <none@none>2009-12-19 10:12:40 +0100
committern0n4m3 <none@none>2009-12-19 10:12:40 +0100
commit243f33b5eae4e5dc96e8134c650ea74daa07ee35 (patch)
tree39d943868b1bbe0116000f748bd72b7b76087683 /src/game/Object.cpp
parent7a3e524df2c57cb8625f08f3b8bef5befe641142 (diff)
Implement new visibility system, based on Silverice patch for mangos
--HG-- branch : trunk
Diffstat (limited to 'src/game/Object.cpp')
-rw-r--r--src/game/Object.cpp4
1 files changed, 1 insertions, 3 deletions
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)
{
}