mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[11465] non-ObjectGuid guids in random places.
Only ChannelMgr code wide use uint64 guids now, and Map object stores.
This commit is contained in:
parent
a925db80fa
commit
ef6a48fe03
44 changed files with 219 additions and 215 deletions
|
|
@ -47,12 +47,12 @@ VisibleNotifier::Notify()
|
|||
{
|
||||
for(Transport::PlayerSet::const_iterator itr = transport->GetPassengers().begin();itr!=transport->GetPassengers().end();++itr)
|
||||
{
|
||||
if (i_clientGUIDs.find((*itr)->GetGUID()) != i_clientGUIDs.end())
|
||||
if (i_clientGUIDs.find((*itr)->GetObjectGuid()) != i_clientGUIDs.end())
|
||||
{
|
||||
// ignore far sight case
|
||||
(*itr)->UpdateVisibilityOf(*itr, &player);
|
||||
player.UpdateVisibilityOf(&player, *itr, i_data, i_visibleNow);
|
||||
i_clientGUIDs.erase((*itr)->GetGUID());
|
||||
i_clientGUIDs.erase((*itr)->GetObjectGuid());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue