aboutsummaryrefslogtreecommitdiff
path: root/src/game/GameObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/GameObject.cpp')
-rw-r--r--src/game/GameObject.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}