mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-27 16:42:18 +00:00
[Constants] Change Race Changes to Race Namespace (#5000)
This commit is contained in:
1 parent
33df8ea665
commit
92c8b0e585
23 files changed
+2127
-2396
No files matched your search
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user