*Fix the visibility update bug of non-unit object.
--HG-- branch : trunk
This commit is contained in:
1 parent
a5d34754ad
commit
a12682a3dd
2 files changed
+3
-2
No files matched your search
+2
-1
@@ -488,7 +488,8 @@ Map::Add(T *obj)
|
||||
|
||||
DEBUG_LOG("Object %u enters grid[%u,%u]", GUID_LOPART(obj->GetGUID()), cell.GridX(), cell.GridY());
|
||||
|
||||
//UpdateObjectVisibility(obj,cell,p);
|
||||
if(obj->GetTypeId() != TYPEID_UNIT)
|
||||
UpdateObjectVisibility(obj,cell,p);
|
||||
|
||||
AddNotifier(obj);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user