Some additional checks to Login Instance check. + code layout.
--HG-- branch : trunk
This commit is contained in:
+2
-2
@@ -17357,8 +17357,8 @@ bool Player::CheckInstanceLoginValid()
|
||||
|
||||
if (GetMap()->IsRaid())
|
||||
{
|
||||
// cannot be in raid instance without a group
|
||||
if (!GetGroup())
|
||||
// cannot be in raid instance without a raid group
|
||||
if (!GetGroup() || !GetGroup()->isRaidGroup())
|
||||
return false;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user