mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-30 21:57:01 +01:00
*Cleanup
--HG-- branch : trunk
This commit is contained in:
@@ -326,11 +326,11 @@ void WorldSession::LogoutPlayer(bool Save)
|
||||
Unit* owner = (*itr)->GetOwner(); // including player controlled case
|
||||
if(owner)
|
||||
{
|
||||
if(owner->GetTypeId()==TYPEID_PLAYER)
|
||||
if(owner->GetTypeId() == TYPEID_PLAYER)
|
||||
aset.insert((Player*)owner);
|
||||
}
|
||||
else
|
||||
if((*itr)->GetTypeId()==TYPEID_PLAYER)
|
||||
if((*itr)->GetTypeId() == TYPEID_PLAYER)
|
||||
aset.insert((Player*)(*itr));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user