Core/Spells: Using hearthstone will teleport caster to map again
Port From (https://github.com/TrinityCore/TrinityCore/commit/d342be8c79a126ef01db9423484449d3ba7d97c7)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user