mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-26 11:52:32 +01:00
Core/Summons: Handle summons using SummonProperties.Control type 5 as vehicles (#30391)
This commit is contained in:
@@ -1896,7 +1896,6 @@ void Spell::EffectSummonType()
|
||||
{
|
||||
case SUMMON_CATEGORY_WILD:
|
||||
case SUMMON_CATEGORY_ALLY:
|
||||
case SUMMON_CATEGORY_UNK:
|
||||
{
|
||||
if (properties->GetFlags().HasFlag(SummonPropertiesFlags::JoinSummonerSpawnGroup))
|
||||
{
|
||||
@@ -2000,6 +1999,7 @@ void Spell::EffectSummonType()
|
||||
summon = unitCaster->GetMap()->SummonCreature(entry, *destTarget, properties, duration, unitCaster, m_spellInfo->Id, 0, privateObjectOwner);
|
||||
break;
|
||||
}
|
||||
case SUMMON_CATEGORY_POSSESSED_VEHICLE:
|
||||
case SUMMON_CATEGORY_VEHICLE:
|
||||
{
|
||||
if (!unitCaster)
|
||||
|
||||
Reference in New Issue
Block a user