mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
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:
@@ -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())))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user