mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[8103] More wide use IsInWorld checks and delayed at teleport operations.
* IsInWorld used to prevent return unexpected not in world objects. * Delayed operations need to process its in world state. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
a8288b311e
commit
2baccbebc3
17 changed files with 220 additions and 40 deletions
|
|
@ -970,7 +970,7 @@ void Group::SendUpdate()
|
|||
|
||||
void Group::UpdatePlayerOutOfRange(Player* pPlayer)
|
||||
{
|
||||
if(!pPlayer)
|
||||
if(!pPlayer || !pPlayer->IsInWorld())
|
||||
return;
|
||||
|
||||
Player *player;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue