mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 01:37:37 +01:00
*Correctly show spellclick flag for vehicles and creatures with info in spellclick table.
--HG-- branch : trunk
This commit is contained in:
@@ -3393,10 +3393,8 @@ void Spell::EffectSummonType(uint32 i)
|
||||
vehicle->SetUInt32Value(UNIT_CREATED_BY_SPELL, m_spellInfo->Id);
|
||||
|
||||
if(damage)
|
||||
{
|
||||
m_caster->CastSpell(vehicle, damage, true);
|
||||
m_caster->EnterVehicle(vehicle);
|
||||
}
|
||||
m_caster->EnterVehicle(vehicle);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user