fix: unglob std::{min, max}, manual stuff

This commit is contained in:
Tropical
2026-03-06 20:47:11 -06:00
parent 967ffbb2a6
commit 04ff82ba70
54 changed files with 126 additions and 126 deletions
@@ -288,11 +288,11 @@ int EnchantmentHelper::getEnchantmentCost(Random *random, int slot, int bookcase
int selected = random->nextInt(8) + 1 + (bookcases >> 1) + random->nextInt(bookcases + 1);
if (slot == 0)
{
return max((selected / 3), 1);
return std::max((selected / 3), 1);
}
if (slot == 1)
{
return max(selected, bookcases * 2);
return std::max(selected, bookcases * 2);
}
return selected;
}