aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-24 13:13:00 -0600
committermegamage <none@none>2009-03-24 13:13:00 -0600
commitc5969d6d03b661668a9893b0cca9f6df98f7ad4b (patch)
treeee3a45b2c5b2db7f01026f345f67bcbc316b5e24 /src/game/SpellEffects.cpp
parent6b4d5c4a358d46c10c75a586cfbb0b4ee5de19e2 (diff)
*Make sure the a player can only have one viewpoint.
--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 b286ed66b28..a95c1dac11f 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -3620,7 +3620,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)->CreateViewpoint(dynObj);
+ ((Player*)m_caster)->SetViewpoint(dynObj, true);
//((Player*)m_caster)->UpdateVisibilityOf(dynObj);
}