From 3d9c7f71b02dcf108f485ccbb597c3614ee3be9c Mon Sep 17 00:00:00 2001 From: trickerer Date: Sun, 15 Oct 2023 19:59:53 +0700 Subject: [PATCH] NPCBots: Fix build 1 --- src/server/game/Maps/Map.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/game/Maps/Map.cpp b/src/server/game/Maps/Map.cpp index 1f928400000234..a54d2a46bbde91 100644 --- a/src/server/game/Maps/Map.cpp +++ b/src/server/game/Maps/Map.cpp @@ -3271,7 +3271,7 @@ void Map::AddToActive(Creature* c) getNGrid(p.x_coord, p.y_coord)->incUnloadActiveLock(); //npcbot else if (c->IsNPCBot()) - EnsureGridLoadedForActiveObject(Cell(Trinity::ComputeCellCoord(c->GetPositionX(), c->GetPositionY())), c); + EnsureGridLoadedForActiveObject(Cell(Acore::ComputeCellCoord(c->GetPositionX(), c->GetPositionY())), c); //end npcbot else { @@ -3320,7 +3320,7 @@ void Map::RemoveFromActive(Creature* c) getNGrid(p.x_coord, p.y_coord)->decUnloadActiveLock(); //npcbot else if (c->IsNPCBot()) - EnsureGridLoaded(Cell(Trinity::ComputeCellCoord(c->GetPositionX(), c->GetPositionY()))); + EnsureGridLoaded(Cell(Acore::ComputeCellCoord(c->GetPositionX(), c->GetPositionY()))); //end npcbot else {