aboutsummaryrefslogtreecommitdiff
path: root/src/game/GridNotifiers.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-04 13:11:03 -0600
committermegamage <none@none>2009-04-04 13:11:03 -0600
commite53521d228df1e53d63b5e0fd53c414b5dff7866 (patch)
tree7355319aff1b53b8616866b07c3c2f4bac4f6b02 /src/game/GridNotifiers.cpp
parentb858dd535a67cda80ac8adb91dadedfb70e0628a (diff)
parent19f725cd5127a565850d9de28ec5f12bf5af4e33 (diff)
*Merge.
--HG-- branch : trunk
Diffstat (limited to 'src/game/GridNotifiers.cpp')
-rw-r--r--src/game/GridNotifiers.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/GridNotifiers.cpp b/src/game/GridNotifiers.cpp
index a244e950dad..fe18dc35840 100644
--- a/src/game/GridNotifiers.cpp
+++ b/src/game/GridNotifiers.cpp
@@ -98,6 +98,9 @@ PlayerVisibilityNotifier::Notify()
// target aura duration for caster show only if target exist at caster client
if((*vItr)!=&i_player && (*vItr)->isType(TYPEMASK_UNIT))
i_player.SendInitialVisiblePackets((Unit*)(*vItr));
+
+ if(i_visibleNow.size() >= 30)
+ i_player.SetToNotify();
}
void