Fixing a DK edgecase

This commit is contained in:
Dustin Hendrickson
2025-12-04 16:05:06 -06:00
parent d3ab2c899f
commit a33f0ca354

View File

@@ -1130,6 +1130,13 @@ static int GetOrFlagPlayerBracket(Player* player)
{ {
continue; continue;
} }
// Skip brackets that Death Knights cannot be assigned to (upper bound < 55)
if (player->getClass() == CLASS_DEATH_KNIGHT && factionRanges[i].upper < 55)
{
continue;
}
int diff = 0; int diff = 0;
if (player->GetLevel() < factionRanges[i].lower) if (player->GetLevel() < factionRanges[i].lower)
{ {