Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed again 2 typos. thx Cyberbrest

  • Loading branch information...
commit 3d280b8b90b92db8f46d8c8d4e940f5bf8e09380 1 parent 1196366
Venugh authored
View
1  src/server/game/Spells/Spell.cpp
@@ -1463,6 +1463,7 @@ void Spell::SelectImplicitTargetDestTargets(SpellEffIndex effIndex, SpellImplici
dist = objSize + (dist - objSize) * (float)rand_norm();
Position pos;
+ target->GetNearPosition(pos, dist, angle);
m_targets.SetDst(*target);
m_targets.ModDst(pos);
}
View
2  src/server/game/Spells/SpellEffects.cpp
@@ -3526,7 +3526,7 @@ void Spell::EffectSummonType(SpellEffIndex effIndex)
// randomize position for multiple summons
m_caster->GetRandomPoint(*destTarget, radius, pos);
- summon = m_originalCaster->SummonCreature(entry, *destTarget, summonType, duration);
+ summon = m_originalCaster->SummonCreature(entry, pos, summonType, duration);
if (!summon)
continue;

1 comment on commit 3d280b8

@Bootz

/Doh...good catch.

Please sign in to comment.
Something went wrong with that request. Please try again.