From a307ba784c1c658902b0d7195e1cfca038a155f5 Mon Sep 17 00:00:00 2001 From: silver1ce Date: Wed, 3 Feb 2010 16:53:40 +0200 Subject: *Move object's field\visibility update functions to object from accessor removed useless SendUpdateObjectToAllExcept - anyway fields will be updated, there is no sense to force update them --HG-- branch : trunk --- src/game/GameObject.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/GameObject.cpp') diff --git a/src/game/GameObject.cpp b/src/game/GameObject.cpp index 07cf49f98f8..30045eb7ddf 100644 --- a/src/game/GameObject.cpp +++ b/src/game/GameObject.cpp @@ -478,7 +478,7 @@ void GameObject::Update(uint32 /*p_time*/) if(!m_spawnedByDefault) { m_respawnTime = 0; - ObjectAccessor::UpdateObjectVisibility(this); + UpdateObjectVisibility(); return; } @@ -488,7 +488,7 @@ void GameObject::Update(uint32 /*p_time*/) if(sWorld.getConfig(CONFIG_SAVE_RESPAWN_TIME_IMMEDIATELY)) SaveRespawnTime(); - ObjectAccessor::UpdateObjectVisibility(this); + UpdateObjectVisibility(); break; } -- cgit v1.2.3