Misc cleanups/Fixes

This commit is contained in:
hondacrx
2020-12-07 10:07:26 -05:00
parent 5aa1c08ca1
commit 7e2df34250
39 changed files with 513 additions and 245 deletions
+2 -2
View File
@@ -1720,7 +1720,7 @@ namespace Game.Spells
pos = destTarget;
else
// randomize position for multiple summons
m_caster.GetRandomPoint(destTarget, radius, out pos);
pos = m_caster.GetRandomPoint(destTarget, radius);
summon = m_originalCaster.SummonCreature(entry, pos, summonType, (uint)duration, 0, personalSpawn);
if (summon == null)
@@ -4972,7 +4972,7 @@ namespace Game.Spells
pos = destTarget;
else
// randomize position for multiple summons
m_caster.GetRandomPoint(destTarget, radius, out pos);
pos = m_caster.GetRandomPoint(destTarget, radius);
TempSummon summon = map.SummonCreature(entry, pos, properties, (uint)duration, caster, m_spellInfo.Id);
if (summon == null)