aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-20 12:30:17 -0600
committermegamage <none@none>2008-12-20 12:30:17 -0600
commitdd7f4e92b2b20cfab4db96993203e8903104ea0c (patch)
tree5c23b681f074d84ebfe23cd21d302cbec710b0d7 /src/game/SpellEffects.cpp
parentf52a5a6dc722bcb54df57d6ae0a879457689de3e (diff)
parent622930c35a95227367b3817db14d20f572876189 (diff)
*Merge with 551.
--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 a11fa495d00..f53338b023d 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -3469,7 +3469,7 @@ void Spell::EffectAddFarsight(uint32 i)
CellPair pair = Trinity::ComputeCellPair(dynObj->GetPositionX(), dynObj->GetPositionY());
Cell cell(pair);
Map* map = dynObj->GetMap();
- map->LoadGrid(cell); // In case the spell is casted into a different grid by player
+ map->EnsureGridLoadedForPlayer(cell, NULL, false); // 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