aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-25 20:52:20 -0600
committermegamage <none@none>2009-02-25 20:52:20 -0600
commitbf66375bc73c2b9dd7c2d26d7af25b111734c622 (patch)
tree67c3cf601faf32a03d16dfe7b02b2a938ec76ae7 /src/game/SpellEffects.cpp
parentccde296fd3822898e8959c009211fe880a0429f7 (diff)
*Update active object code. By VladimirMangos.
--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 066252c6de8..846ab8ddf13 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -3500,8 +3500,8 @@ void Spell::EffectAddFarsight(uint32 i)
Map* map = dynObj->GetMap();
map->LoadGrid(dynObj->GetPositionX(), dynObj->GetPositionY()); // In case the spell is casted into a different grid by player
map->Add(dynObj);
- map->SwitchGridContainers(dynObj, true); // Needed for forwarding player packets
dynObj->setActive(true); // Keep the grid updated even if there are no players in it
+ map->SwitchGridContainers(dynObj, true); // Needed for forwarding player packets
// Need to update visibility of object for client to accept farsight guid
((Player*)m_caster)->UpdateVisibilityOf(dynObj);