Merge pull request #922 from noudess/spawn2

Fix some bugs with the use of the model field in npc_types
This commit is contained in:
Michael Cook (mackal)
2019-10-15 21:02:36 -04:00
committed by GitHub
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)
{