Core/Spells: Set private object owner for vehicle summon spells
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user