aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-19 08:59:15 -0600
committermegamage <none@none>2009-03-19 08:59:15 -0600
commit4877009098c7399ee880f2374b08bf9f1c87d55d (patch)
treebba3785bc5ab04e029aeecc6dbed87082725184d /src/game/SpellEffects.cpp
parent2f9688bb07a59f10ef25f20c53e94c67e4c0e254 (diff)
*Set seer back when it is removed to prevent crash.
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 4c717ba924c..8645d1ab7d4 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -3657,7 +3657,7 @@ void Spell::EffectAddFarsight(uint32 i)
dynObj->GetMap()->Add(dynObj); //grid will also be loaded
// Need to update visibility of object for client to accept farsight guid
- ((Player*)m_caster)->CreateSeer(dynObj);
+ ((Player*)m_caster)->CreateViewpoint(dynObj);
//((Player*)m_caster)->UpdateVisibilityOf(dynObj);
}