diff options
author | megamage <none@none> | 2009-05-23 20:42:31 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-05-23 20:42:31 -0500 |
commit | 94692ea5f7afddcbf56e4db68b2acb000115e0ec (patch) | |
tree | 11ffdcfd5d967e141953cfc3581138815b075b70 /src/game/ObjectAccessor.cpp | |
parent | 2475390852e23a938110ba79647a2ccc49a8fc86 (diff) |
*Use getworldobject for getunit. Also allow get vehicles using this function.
--HG--
branch : trunk
Diffstat (limited to 'src/game/ObjectAccessor.cpp')
-rw-r--r-- | src/game/ObjectAccessor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/ObjectAccessor.cpp b/src/game/ObjectAccessor.cpp index da6279e068a..0472c89a59f 100644 --- a/src/game/ObjectAccessor.cpp +++ b/src/game/ObjectAccessor.cpp @@ -60,6 +60,7 @@ ObjectAccessor::GetCreatureOrPetOrVehicle(WorldObject const &u, uint64 guid) return u.GetMap()->GetCreature(guid); } +/* Unit* ObjectAccessor::GetUnit(WorldObject const &u, uint64 guid) { @@ -71,6 +72,7 @@ ObjectAccessor::GetUnit(WorldObject const &u, uint64 guid) return GetCreatureOrPetOrVehicle(u, guid); } +*/ Corpse* ObjectAccessor::GetCorpse(WorldObject const &u, uint64 guid) |