aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Grids/GridStates.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2025-06-06 11:21:01 +0200
committerShauren <shauren.trinity@gmail.com>2025-06-06 11:21:01 +0200
commitd2ddcd7b36a93f76f11941e240d2907bdc414e53 (patch)
tree202a54c01ac1fe667470f304fc92933e0495ea7d /src/server/game/Grids/GridStates.cpp
parentf04cc7a8cb53f0d19b8fd24671333112cf5f3cf8 (diff)
Core/Grids: Remove unused template parameter from Grid class
Diffstat (limited to 'src/server/game/Grids/GridStates.cpp')
-rw-r--r--src/server/game/Grids/GridStates.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Grids/GridStates.cpp b/src/server/game/Grids/GridStates.cpp
index c1bccae62a0..fd3ba338ce5 100644
--- a/src/server/game/Grids/GridStates.cpp
+++ b/src/server/game/Grids/GridStates.cpp
@@ -31,7 +31,7 @@ void ActiveState::Update(Map& map, NGridType& grid, GridInfo& info, uint32 diff)
info.UpdateTimeTracker(diff);
if (info.getTimeTracker().Passed())
{
- if (!grid.GetWorldObjectCountInNGrid<Player>() && !map.ActiveObjectsNearGrid(grid))
+ if (!grid.HasWorldObjectsInNGrid<Player>() && !map.ActiveObjectsNearGrid(grid))
{
ObjectGridStoper worker;
TypeContainerVisitor<ObjectGridStoper, GridTypeMapContainer> visitor(worker);