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) authored and GitHub committed 2019-10-15 21:02:36 -04:00
commit b0efe88a03
3 files changed
+11 -5

No files matched your search

+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)
{