*Update to Mangos 7200.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-01-29 19:33:39 -06:00
parent 7663c741c7
commit 25ab1fa4ad
23 changed files with 1000 additions and 378 deletions

View File

@@ -176,7 +176,7 @@ ObjectAccessor::GetCorpse(WorldObject const &u, uint64 guid)
if(!ret)
return NULL;
if(ret->GetMapId() != u.GetMapId())
ret = NULL;
return NULL;
if(ret->GetInstanceId() != u.GetInstanceId())
return NULL;
return ret;
@@ -226,7 +226,7 @@ ObjectAccessor::GetGameObject(WorldObject const &u, uint64 guid)
if(!ret)
return NULL;
if(ret->GetMapId() != u.GetMapId())
ret = NULL;
return NULL;
if(ret->GetInstanceId() != u.GetInstanceId())
return NULL;
return ret;
@@ -239,7 +239,7 @@ ObjectAccessor::GetDynamicObject(WorldObject const &u, uint64 guid)
if(!ret)
return NULL;
if(ret->GetMapId() != u.GetMapId())
ret = NULL;
return NULL;
if(ret->GetInstanceId() != u.GetInstanceId())
return NULL;
return ret;