[Feature] Allow assigning Helm Texture independently of Body Texture for Horses (#4759)

This commit is contained in:
catapultam-habeo
2025-03-07 20:59:12 -08:00
committed by GitHub
parent a2ed6be1f5
commit a0634adb3c
4 changed files with 56 additions and 32 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ const NPCType *Horse::BuildHorseType(uint16 spell_id)
n->npc_id = 0;
n->loottable_id = 0;
n->texture = e.texture;
n->helmtexture = e.texture;
n->helmtexture = e.helmtexture == -1 ? e.texture : e.helmtexture;
n->runspeed = e.mountspeed;
n->light = 0;
n->STR = 75;