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

This commit is contained in:
ModoX
2026-05-01 22:12:22 +02:00
parent c720cf7bcb
commit e2e48c6364
+2
View File
@@ -2059,6 +2059,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();