mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 06:21:28 +00:00
[Illusions] RandomizeFeastures erased texture. (#3686)
This commit is contained in:
parent
fa5a3155fe
commit
e466ca1c6d
@ -3586,10 +3586,17 @@ void Mob::SendIllusionPacket(const AppearanceStruct& a)
|
||||
gender = new_gender;
|
||||
hairstyle = new_hair;
|
||||
haircolor = new_hair_color;
|
||||
helmtexture = new_helmet_texture;
|
||||
race = new_race;
|
||||
size = new_size;
|
||||
|
||||
// These two should not be modified in base data - it kills db texture
|
||||
// when illusion is only for RandomizeFeatures...
|
||||
if (new_helmet_texture != UINT8_MAX) {
|
||||
helmtexture = new_helmet_texture;
|
||||
}
|
||||
if (new_texture != UINT8_MAX) {
|
||||
texture = new_texture;
|
||||
}
|
||||
|
||||
auto outapp = new EQApplicationPacket(OP_Illusion, sizeof(Illusion_Struct));
|
||||
auto is = (Illusion_Struct *) outapp->pBuffer;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user