RemoveAllAppearanceEffects sends all relevant data so NPC appearance doesn't get altered. (#1864)

This commit is contained in:
Natedog2012 2021-12-07 14:15:28 -06:00 committed by GitHub
parent 8ec4afe721
commit 0f4f5d7046
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4858,7 +4858,10 @@ XS(XS_Mob_RemoveAllAppearanceEffects) {
{
Mob *THIS;
VALIDATE_THIS_IS_MOB;
THIS->SendIllusionPacket(THIS->GetRace());
THIS->SendIllusionPacket(THIS->GetRace(), THIS->GetGender(), THIS->GetTexture(), THIS->GetHelmTexture(),
THIS->GetHairColor(), THIS->GetBeardColor(), THIS->GetEyeColor1(), THIS->GetEyeColor2(),
THIS->GetHairStyle(), THIS->GetLuclinFace(), THIS->GetBeard(), 0xFF,
THIS->GetDrakkinHeritage(), THIS->GetDrakkinTattoo(), THIS->GetDrakkinDetails(), THIS->GetSize());
}
XSRETURN_EMPTY;
}