I think the check is at line 1590'ish:
Code: Select all
if ( zoneMinStatus < 0 )
{
Variable* var = variables.FindVariable("min_zone_status_override");
if ( !var )
{
SimpleMessage(CHANNEL_COLOR_YELLOW, noneEnter);
Message(CHANNEL_COLOR_YELLOW, "Required status %i to enter, no zone status override set.",zoneMinStatus);
return false;
}
else if ( var )
{
sint16 minStatus = atoi(var->GetValue());
if( minStatus > GetAdminStatus() )
{
SimpleMessage(CHANNEL_COLOR_YELLOW, youCannotEnter);
Message(CHANNEL_COLOR_YELLOW, "Required status %i to override to enter.",minStatus);
return false;
}
}
}
else if ( zoneMinStatus > 0 && zoneMinStatus > GetAdminStatus ( ) )
{
SimpleMessage(CHANNEL_COLOR_YELLOW, youCannotEnter);
Message(CHANNEL_COLOR_YELLOW, "Required status %i to enter.",zoneMinStatus);
return false;
}Any ideas?