Core/Map: Load the grid of TempSummons owned by Players

Ensure to load the grid of TempSummons owned by Players when the relocate to another cell
This commit is contained in:
jackpoz
2020-01-28 05:55:09 +01:00
committed by Ovahlord
parent adbc729fab
commit 316986765f

View File

@@ -1468,6 +1468,9 @@ bool Map::CreatureCellRelocation(Creature* c, Cell new_cell)
return true;
}
if (c->GetCharmerOrOwnerGUID().IsPlayer())
EnsureGridLoaded(new_cell);
// in diff. loaded grid normal creature
if (IsGridLoaded(GridCoord(new_cell.GridX(), new_cell.GridY())))
{