*Cleanup
--HG-- branch : trunk
This commit is contained in:
1 parent
864b3f31e9
commit
d22768a6b5
25 files changed
+543
-541
No files matched your search
@@ -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