diff options
| author | megamage <none@none> | 2009-03-14 15:11:04 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2009-03-14 15:11:04 -0600 |
| commit | 2490a3e25067ba3b7caf12b980324a27a9c55c27 (patch) | |
| tree | 99cd9c74e2adaf4d1226cc551f0f4aa74a90a7a3 /src/game/SpellEffects.cpp | |
| parent | 1611aae981298fdaaf777dfe93cbc6cdb2b2b188 (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.cpp | 2 |
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); } |
