From 4a067e4e9b6953e6cd3c4de3db43c87895f66268 Mon Sep 17 00:00:00 2001 From: Chris Miles Date: Sun, 13 Jun 2021 02:03:21 -0500 Subject: [PATCH] [Fix] Fix illusions (#1389) --- zone/mob.cpp | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/zone/mob.cpp b/zone/mob.cpp index ddd658b0d..2d936634e 100644 --- a/zone/mob.cpp +++ b/zone/mob.cpp @@ -1859,19 +1859,20 @@ void Mob::SendIllusionPacket( } // update internal values for mob - size = (in_size <= 0.0f) ? GetSize() : in_size; - texture = new_texture; - helmtexture = new_helmtexture; - haircolor = new_haircolor; - beardcolor = new_beardcolor; - eyecolor1 = new_eyecolor1; - eyecolor2 = new_eyecolor2; - hairstyle = new_hairstyle; - luclinface = new_luclinface; - beard = new_beard; - drakkin_heritage = new_drakkin_heritage; - drakkin_tattoo = new_drakkin_tattoo; - drakkin_details = new_drakkin_details; + // TODO: Move this to its own SetIllusion function later + // size = (in_size <= 0.0f) ? GetSize() : in_size; + // texture = new_texture; + // helmtexture = new_helmtexture; + // haircolor = new_haircolor; + // beardcolor = new_beardcolor; + // eyecolor1 = new_eyecolor1; + // eyecolor2 = new_eyecolor2; + // hairstyle = new_hairstyle; + // luclinface = new_luclinface; + // beard = new_beard; + // drakkin_heritage = new_drakkin_heritage; + // drakkin_tattoo = new_drakkin_tattoo; + // drakkin_details = new_drakkin_details; auto outapp = new EQApplicationPacket(OP_Illusion, sizeof(Illusion_Struct)); Illusion_Struct *is = (Illusion_Struct *) outapp->pBuffer;