diff options
| author | megamage <none@none> | 2009-03-19 08:59:15 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2009-03-19 08:59:15 -0600 |
| commit | 4877009098c7399ee880f2374b08bf9f1c87d55d (patch) | |
| tree | bba3785bc5ab04e029aeecc6dbed87082725184d /src/game/SpellAuras.cpp | |
| parent | 2f9688bb07a59f10ef25f20c53e94c67e4c0e254 (diff) | |
*Set seer back when it is removed to prevent crash.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
| -rw-r--r-- | src/game/SpellAuras.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index e3e2cc1e572..6415638169f 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -2001,7 +2001,7 @@ void Aura::HandleAuraDummy(bool apply, bool Real) if( m_target->GetTypeId() == TYPEID_PLAYER && GetSpellProto()->Effect[0]==72 ) { // spells with SpellEffect=72 and aura=4: 6196, 6197, 21171, 21425 - ((Player*)m_target)->CreateSeer(NULL); + ((Player*)m_target)->CreateViewpoint(NULL); return; } @@ -2949,7 +2949,7 @@ void Aura::HandleBindSight(bool apply, bool Real) if(!caster || caster->GetTypeId() != TYPEID_PLAYER) return; - ((Player*)caster)->CreateSeer(apply ? m_target : NULL); + ((Player*)caster)->CreateViewpoint(apply ? m_target : NULL); } void Aura::HandleFarSight(bool apply, bool Real) |
