[8103] More wide use IsInWorld checks and delayed at teleport operations. Author: Ambal
* IsInWorld used to prevent return unexpected not in world objects.
* Delayed operations need to process its in world state.
--HG--
branch : trunk
This commit is contained in:
1 parent
111dac5f94
commit
4a8a89e1db
15 files changed
+209
-17
No files matched your search
@@ -252,6 +252,10 @@ void WorldSession::HandleWhoOpcode( WorldPacket & recv_data )
|
||||
continue;
|
||||
}
|
||||
|
||||
//do not process players which are not in world
|
||||
if(!(itr->second->IsInWorld()))
|
||||
continue;
|
||||
|
||||
// check if target is globally visible for player
|
||||
if (!(itr->second->IsVisibleGloballyFor(_player)))
|
||||
continue;
|
||||
|
||||
Reference in new issue
Block a user