diff options
| author | megamage <none@none.none> | 2011-10-18 10:53:34 -0400 |
|---|---|---|
| committer | megamage <none@none.none> | 2011-10-18 10:53:34 -0400 |
| commit | c29ff410015be2ef8c8c55ba3015940962ff56c3 (patch) | |
| tree | d2b5b36bbf32bbb695ef0f1456a461294609fd06 /src/server/game/Chat/Chat.cpp | |
| parent | e3f8588a227cbf9108f396131a199d75868bf539 (diff) | |
Rename some classes in grid system.
Note: The naming of classes is still confusing. "cell" usually refers to class "Grid", and "grid" usually refers to class "NGrid". But it requires a lot of changes to clean this up.
Diffstat (limited to 'src/server/game/Chat/Chat.cpp')
| -rwxr-xr-x | src/server/game/Chat/Chat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Chat/Chat.cpp b/src/server/game/Chat/Chat.cpp index 8d03530c7f9..5be49fb433d 100755 --- a/src/server/game/Chat/Chat.cpp +++ b/src/server/game/Chat/Chat.cpp @@ -1240,7 +1240,7 @@ GameObject* ChatHandler::GetObjectGlobalyWithGuidOrNearWithDbGuid(uint32 lowguid if (!obj && sObjectMgr->GetGOData(lowguid)) // guid is DB guid of object { // search near player then - CellPair p(Trinity::ComputeCellPair(pl->GetPositionX(), pl->GetPositionY())); + CellCoord p(Trinity::ComputeCellCoord(pl->GetPositionX(), pl->GetPositionY())); Cell cell(p); cell.data.Part.reserved = ALL_DISTRICT; |
