[Constants] Change Race Changes to Race Namespace (#5000)

This commit is contained in:
Alex King authored and GitHub committed 2025-08-30 15:33:11 -04:00
1 parent 33df8ea665
commit 92c8b0e585
23 files changed
+2127 -2396

No files matched your search

+1 -1
View File
@@ -1619,7 +1619,7 @@ bool Mob::CanUseAlternateAdvancementRank(AA::Rank *rank)
auto race = GetPlayerRaceValue(GetBaseRace());
race = race > PLAYER_RACE_COUNT ? Race::Human : race;
race = race > RaceIndex::Drakkin ? Race::Human : race;
if (!(a->races & (1 << (race - 1)))) {
return false;