*Fix visibility update bug.
--HG-- branch : trunk
This commit is contained in:
1 parent
98f3d4d8b3
commit
c0a131a63d
3 files changed
+8
-8
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user