diff options
author | megamage <none@none> | 2009-04-04 13:02:57 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-04-04 13:02:57 -0600 |
commit | c0a131a63d8d5f9b5c7d5c3373e588dbc7beb074 (patch) | |
tree | 8d83b40686892d3c257f77037ffd6c3290bce94e /src/game/GridNotifiers.cpp | |
parent | 98f3d4d8b3dc91953b56a9599ee0c48ca04cc889 (diff) |
*Fix visibility update bug.
--HG--
branch : trunk
Diffstat (limited to 'src/game/GridNotifiers.cpp')
-rw-r--r-- | src/game/GridNotifiers.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/GridNotifiers.cpp b/src/game/GridNotifiers.cpp index f52932df83d..e27abeccd0c 100644 --- a/src/game/GridNotifiers.cpp +++ b/src/game/GridNotifiers.cpp @@ -99,6 +99,9 @@ PlayerVisibilityNotifier::Notify() for(std::set<WorldObject*>::const_iterator vItr = i_visibleNow.begin(); vItr != i_visibleNow.end(); ++vItr) if((*vItr)!=&i_player && (*vItr)->isType(TYPEMASK_UNIT)) i_player.SendInitialVisiblePackets((Unit*)(*vItr)); + + if(i_visibleNow.size() >= 30) + i_player.SetToNotify(); } void |