Core/Grids: Remove unused template parameter from Grid class

This commit is contained in:
Shauren
2025-06-06 11:21:01 +02:00
parent f04cc7a8cb
commit d2ddcd7b36
8 changed files with 63 additions and 139 deletions

View File

@@ -1577,7 +1577,7 @@ bool Map::UnloadGrid(NGridType& ngrid, bool unloadAll)
if (!unloadAll)
{
//pets, possessed creatures (must be active), transport passengers
if (ngrid.GetWorldObjectCountInNGrid<Creature>())
if (ngrid.HasWorldObjectsInNGrid<Creature>())
return false;
if (ActiveObjectsNearGrid(ngrid))