aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-14 15:11:04 -0600
committermegamage <none@none>2009-03-14 15:11:04 -0600
commit2490a3e25067ba3b7caf12b980324a27a9c55c27 (patch)
tree99cd9c74e2adaf4d1226cc551f0f4aa74a90a7a3 /src/game/SpellEffects.cpp
parent1611aae981298fdaaf777dfe93cbc6cdb2b2b188 (diff)
*Fix a typo that makes players can see invisible units.
*Update farsight target code. Only change seer when receive client request. --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 2298376d766..16a2efef8b3 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -3704,7 +3704,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)->SetSeer(dynObj);
+ ((Player*)m_caster)->CreateSeer(dynObj);
//((Player*)m_caster)->UpdateVisibilityOf(dynObj);
}