Revert "Temp fix for *nix build."

It builds in *nix without this patch.

This reverts commit e84fffe588.
This commit is contained in:
megamage
2011-12-22 10:15:17 -05:00
parent e84fffe588
commit ce0dfa88a6
3 changed files with 2 additions and 24 deletions
+1 -1
View File
@@ -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))