mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
[Bug Fix] Fix NPC::CanTalk() Crash (#4499)
* [Bug FIx] Fix NPC::CanTalk() Crash * Update npc.cpp * Update mob.cpp * Update npc.cpp
This commit is contained in:
+2
-1
@@ -4068,7 +4068,8 @@ uint8 Mob::GetDefaultGender(uint16 in_race, uint8 in_gender) {
|
||||
in_race == Race::Human2 ||
|
||||
in_race == Race::ElvenGhost ||
|
||||
in_race == Race::HumanGhost ||
|
||||
in_race == Race::Coldain2
|
||||
in_race == Race::Coldain2 ||
|
||||
in_race == Race::Akheva
|
||||
) {
|
||||
if (in_gender >= Gender::Neuter) { // Male default for PC Races
|
||||
return Gender::Male;
|
||||
|
||||
Reference in New Issue
Block a user