Core/Spells: Added missing SummonPropertiesFlags::UseDemonTimeout handling to some summon cases

Port From (https://github.com/TrinityCore/TrinityCore/commit/ceffc2cb2037921af13d8a417b39e407bb7635ac)
This commit is contained in:
Hondacrx
2024-09-01 15:57:24 -04:00
parent 86447c1692
commit e440ccd097
+2
View File
@@ -1575,6 +1575,8 @@ namespace Game.Spells
summonType = TempSummonType.DeadDespawn;
else if (duration == TimeSpan.FromMilliseconds(-1))
summonType = TempSummonType.ManualDespawn;
else if (properties.HasFlag(SummonPropertiesFlags.UseDemonTimeout))
summonType = TempSummonType.TimedDespawnOutOfCombat;
for (uint count = 0; count < numSummons; ++count)
{