Fix some bugs with the use of the model field in npc_types

This commit is contained in:
Noudess
2019-10-15 13:22:49 -04:00
parent bcf0af0a8d
commit 7eb2e834b1
3 changed files with 11 additions and 5 deletions
+5 -1
View File
@@ -1736,7 +1736,11 @@ void Mob::SendIllusionPacket(
uint32 new_drakkin_tattoo;
uint32 new_drakkin_details;
race = (in_race) ? in_race : GetBaseRace();
race = in_race;
if (race == 0)
{
race = (use_model) ? use_model : GetBaseRace();
}
if (in_gender != 0xFF)
{