diff options
author | Meji <alvaro.megias@outlook.com> | 2024-11-05 14:42:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-05 14:42:35 +0100 |
commit | 23bb1a56b74191e131e41ad25edbe40ee4e76a96 (patch) | |
tree | 1d186ebab1703795c7b4b521b460b0e7b9c602d6 /src/server/game/Spells/SpellEffects.cpp | |
parent | c68f4ceeb58d9e113510359eb4b7e87ef270cc9e (diff) |
Core/Summons: Handle summons using SummonProperties.Control type 5 as vehicles (#30391)
Diffstat (limited to 'src/server/game/Spells/SpellEffects.cpp')
-rw-r--r-- | src/server/game/Spells/SpellEffects.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp index 61c5afa05bc..97b11625380 100644 --- a/src/server/game/Spells/SpellEffects.cpp +++ b/src/server/game/Spells/SpellEffects.cpp @@ -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) |