Skip to content

Commit

Permalink
Remove redundant line
Browse files Browse the repository at this point in the history
(based on cmangos/mangos-wotlk@2e858f417)

Signed-off-by: Xfurry <xfurry.cmangos@outlook.com>
  • Loading branch information
killerwife authored and xfurry committed Jan 2, 2018
1 parent 26a8a4e commit 13914a4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/game/SpellEffects.cpp
Expand Up @@ -10879,9 +10879,6 @@ void Spell::EffectSummonObject(SpellEffectEntry const* effect)

pGameObj->SummonLinkedTrapIfAny();

if (gameobject_id == 177746)
pGameObj->Use(m_caster);

// Notify Summoner
if (m_originalCaster && (m_originalCaster != m_caster) && (m_originalCaster->AI()))
m_originalCaster->AI()->JustSummoned(pGameObj);
Expand Down

0 comments on commit 13914a4

Please sign in to comment.