Skip to content

Commit

Permalink
Fix Draenei being created with expansion set to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
noisiver committed Jul 10, 2024
1 parent 9d4c478 commit 9accee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RandomPlayerbotFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ RandomPlayerbotFactory::RandomPlayerbotFactory(uint32 accountId) : accountId(acc
availableRaces[CLASS_PRIEST].push_back(RACE_NIGHTELF);
availableRaces[CLASS_PRIEST].push_back(RACE_TROLL);
availableRaces[CLASS_PRIEST].push_back(RACE_UNDEAD_PLAYER);
availableRaces[CLASS_PRIEST].push_back(RACE_DRAENEI);
if(expansion >= EXPANSION_THE_BURNING_CRUSADE)
{
availableRaces[CLASS_PRIEST].push_back(RACE_DRAENEI);
availableRaces[CLASS_PRIEST].push_back(RACE_BLOODELF);
}

Expand Down

0 comments on commit 9accee0

Please sign in to comment.