[11927] Fix typo, also use shiny wrapper for ObjectGuid.GetString. Thanks to tyrnon for pointing

This commit is contained in:
Schmoozerd 2012-02-09 00:40:26 +01:00
parent e9140ec82b
commit 443050ffa1
5 changed files with 16 additions and 16 deletions

View file

@ -339,7 +339,7 @@ Map::Add(T *obj)
if(obj->isActiveObject())
AddToActive(obj);
DEBUG_LOG("%s enters grid[%u,%u]", obj->GetObjectGuid().GetString().c_str(), cell.GridX(), cell.GridY());
DEBUG_LOG("%s enters grid[%u,%u]", obj->GetGuidStr().c_str(), cell.GridX(), cell.GridY());
obj->GetViewPoint().Event_AddedToWorld(&(*grid)(cell.CellX(), cell.CellY()));
UpdateObjectVisibility(obj,cell,p);