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 authored and Ovahlord committed 2020-01-28 05:55:09 +01:00
1 parent adbc729fab
commit 316986765f
1 file changed
+3
+3
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())))
{