diff --git a/Source/Game/Entities/Player/Player.DB.cs b/Source/Game/Entities/Player/Player.DB.cs index 1095670ef..16d59b898 100644 --- a/Source/Game/Entities/Player/Player.DB.cs +++ b/Source/Game/Entities/Player/Player.DB.cs @@ -2773,7 +2773,12 @@ namespace Game.Entities SetRaidDifficultyID(CheckLoadedRaidDifficultyID(raidDifficulty)); SetLegacyRaidDifficultyID(CheckLoadedLegacyRaidDifficultyID(legacyRaidDifficulty)); - var RelocateToHomebind = new Action(() => { instance_id = 0; Relocate(homebind); }); + var RelocateToHomebind = new Action(() => + { + mapId = homebind.GetMapId(); + instance_id = 0; + Relocate(homebind); + }); _LoadGroup(holder.GetResult(PlayerLoginQueryLoad.Group)); diff --git a/Source/Game/Spells/Spell.cs b/Source/Game/Spells/Spell.cs index f630a4239..854e4f0be 100644 --- a/Source/Game/Spells/Spell.cs +++ b/Source/Game/Spells/Spell.cs @@ -7874,6 +7874,13 @@ namespace Game.Spells TransportGUID = ObjectGuid.Empty; } + public SpellDestination(WorldLocation loc) : this() + { + Position.WorldRelocate(loc); + TransportGUID.Clear(); + TransportOffset.Relocate(0, 0, 0, 0); + } + public SpellDestination(WorldObject wObj) : this() { TransportGUID = wObj.GetTransGUID();