aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Entities/Object
diff options
context:
space:
mode:
authormegamage <none@none.none>2011-10-10 17:39:34 -0400
committermegamage <none@none.none>2011-10-10 17:39:34 -0400
commit3ba22d0d06ee52c6692d436fa013186cf6a6b9cf (patch)
tree2bd5fa0318f08d0f84dfe8f324d650723ed96a83 /src/server/game/Entities/Object
parentd156e066cfa8be95031aff31ab7b6aa905e12839 (diff)
Rename Map::Add to Map::AddToMap, Map::Remove to Map::RemoveFromMap for better management.
Diffstat (limited to 'src/server/game/Entities/Object')
-rwxr-xr-xsrc/server/game/Entities/Object/Object.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/game/Entities/Object/Object.cpp b/src/server/game/Entities/Object/Object.cpp
index 0b275f833e6..82c0eb3a169 100755
--- a/src/server/game/Entities/Object/Object.cpp
+++ b/src/server/game/Entities/Object/Object.cpp
@@ -2199,7 +2199,7 @@ TempSummon* Map::SummonCreature(uint32 entry, Position const& pos, SummonPropert
summon->SetHomePosition(pos);
summon->InitStats(duration);
- Add(summon->ToCreature());
+ AddToMap(summon->ToCreature());
summon->InitSummon();
//ObjectAccessor::UpdateObjectVisibility(summon);
@@ -2307,7 +2307,7 @@ Pet* Player::SummonPet(uint32 entry, float x, float y, float z, float ang, PetTy
break;
}
- map->Add(pet->ToCreature());
+ map->AddToMap(pet->ToCreature());
switch (petType)
{
@@ -2368,7 +2368,7 @@ GameObject* WorldObject::SummonGameObject(uint32 entry, float x, float y, float
((Unit*)this)->AddGameObject(go);
else
go->SetSpawnedByDefault(false);
- map->Add(go);
+ map->AddToMap(go);
return go;
}