mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Position: Remove Position implicit object slicing
This commit is contained in:
@@ -2772,7 +2772,7 @@ class spell_hor_evasion : public SpellScriptLoader
|
||||
void SetDest(SpellDestination& dest)
|
||||
{
|
||||
WorldObject* target = GetExplTargetWorldObject();
|
||||
Position pos(*target);
|
||||
Position pos = target->GetPosition();
|
||||
Position home = GetCaster()->ToCreature()->GetHomePosition();
|
||||
|
||||
// prevent evasion outside the room
|
||||
|
||||
Reference in New Issue
Block a user