*Fix visibility update bug.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-04-04 13:02:57 -06:00
1 parent 98f3d4d8b3
commit c0a131a63d
3 files changed
+8 -8

No files matched your search

+3
View File
@@ -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