Core/Spells: Set private object owner for vehicle summon spells

This commit is contained in:
luis
2026-05-02 11:26:50 -03:00
parent 11a9c99dbd
commit 61b6e23588
+2
View File
@@ -2079,6 +2079,8 @@ void Spell::EffectSummonType()
if (!summon || !summon->IsVehicle())
return;
summon->SetPrivateObjectOwner(privateObjectOwner);
// The spell that this effect will trigger. It has SPELL_AURA_CONTROL_VEHICLE
uint32 spellId = VEHICLE_SPELL_RIDE_HARDCODED;
SpellEffectValue basePoints = effectInfo->CalcValue();