Merge pull request #734 from noudess/master

Kerran illusion spell uses 562 not 23.
This commit is contained in:
JJ 2018-05-22 17:33:39 +03:00 committed by GitHub
commit 510d8083b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2090,7 +2090,7 @@ bool Mob::IsPlayerRace(uint16 in_race) {
uint8 Mob::GetDefaultGender(uint16 in_race, uint8 in_gender) {
if (Mob::IsPlayerRace(in_race) || in_race == 15 || in_race == 50 || in_race == 57 || in_race == 70 || in_race == 98 || in_race == 118 || in_race == 23) {
if (Mob::IsPlayerRace(in_race) || in_race == 15 || in_race == 50 || in_race == 57 || in_race == 70 || in_race == 98 || in_race == 118 || in_race == 562) {
if (in_gender >= 2) {
// Male default for PC Races
return 0;