From fe1e839708c05074ac37ef222571b92d1c995115 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Thu, 31 Dec 2020 21:02:43 -0500 Subject: [PATCH] Core/Vehicles: Add missing caster guid check Port From (https://github.com/TrinityCore/TrinityCore/commit/e26122dc54b5c5a356a97a842718168dab97a0aa) --- Source/Game/Spells/Auras/AuraEffect.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Game/Spells/Auras/AuraEffect.cs b/Source/Game/Spells/Auras/AuraEffect.cs index 91e4ec8f6..f05caf69c 100644 --- a/Source/Game/Spells/Auras/AuraEffect.cs +++ b/Source/Game/Spells/Auras/AuraEffect.cs @@ -2652,7 +2652,7 @@ namespace Game.Spells } bool seatChange = mode.HasAnyFlag(AuraEffectHandleModes.ChangeAmount) // Seat change on the same direct vehicle - || target.HasAuraType(AuraType.ControlVehicle); // Seat change to a proxy vehicle (for example turret mounted on a siege engine) + || target.HasAuraTypeWithCaster(AuraType.ControlVehicle, caster.GetGUID()); // Seat change to a proxy vehicle (for example turret mounted on a siege engine) if (!seatChange) caster._ExitVehicle();