Skip to content

Commit

Permalink
Merge pull request liyunfan1223#319 from noisiver/fix-draenei-creation
Browse files Browse the repository at this point in the history
Fix: Draenei shouldn't be created when expansion is set to 0
  • Loading branch information
liyunfan1223 authored Jul 11, 2024
2 parents 9d4c478 + 9accee0 commit 4850cf0
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 4850cf0

Please sign in to comment.