Core/Misc: Code style and remove unused define.
Signed-off-by: Gyx <2359980687@qq.com>
This commit is contained in:
1 parent
e77f51df5d
commit
5b7493fc66
21 files changed
+86
-88
No files matched your search
@@ -2355,7 +2355,7 @@ bool InstanceMap::CanEnter(Player* player)
|
||||
return false;
|
||||
}
|
||||
// player inside instance has no group or his groups is different to entering player's one, deny entry
|
||||
if (!iPlayer->GetGroup() || iPlayer->GetGroup() != player->GetGroup() )
|
||||
if (!iPlayer->GetGroup() || iPlayer->GetGroup() != player->GetGroup())
|
||||
{
|
||||
player->SendTransferAborted(GetId(), TRANSFER_ABORT_MAX_PLAYERS);
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user