From afbc47891965f9c31c4b31c66931a2dbc9846f93 Mon Sep 17 00:00:00 2001 From: jackpoz Date: Fri, 20 Dec 2019 20:38:05 +0100 Subject: 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 --- src/server/game/Maps/Map.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/server/game/Maps/Map.cpp b/src/server/game/Maps/Map.cpp index d49899c08d4..8d2f2af30a9 100644 --- a/src/server/game/Maps/Map.cpp +++ b/src/server/game/Maps/Map.cpp @@ -1412,6 +1412,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()))) { -- cgit v1.2.3