Revert "Temp fix for *nix build."
It builds in *nix without this patch.
This reverts commit e84fffe588.
This commit is contained in:
@@ -915,7 +915,7 @@ bool Map::UnloadGrid(NGridType& ngrid, bool unloadAll)
|
||||
if (!unloadAll)
|
||||
{
|
||||
//pets, possessed creatures (must be active), transport passengers
|
||||
if (ngrid.GetWorldCreatureCountInNGrid())
|
||||
if (ngrid.GetWorldObjectCountInNGrid<Creature>())
|
||||
return false;
|
||||
|
||||
if (ActiveObjectsNearGrid(ngrid))
|
||||
|
||||
Reference in New Issue
Block a user