Rename Map::Add to Map::AddToMap, Map::Remove to Map::RemoveFromMap for better management.

This commit is contained in:
megamage committed 2011-10-10 17:39:34 -04:00
1 parent d156e066cf
commit 3ba22d0d06
24 files changed
+85 -84

No files matched your search

@@ -382,7 +382,7 @@ void GameObject::Update(uint32 diff)
if (poolid)
sPoolMgr->UpdatePool<GameObject>(poolid, GetDBTableGUIDLow());
else
GetMap()->Add(this);
GetMap()->AddToMap(this);
break;
}
}
@@ -595,7 +595,7 @@ void GameObject::Refresh()
return;
if (isSpawned())
GetMap()->Add(this);
GetMap()->AddToMap(this);
}
void GameObject::AddUniqueUse(Player* player)