fix(dbc): correct ItemDisplayInfo texture field indices for TBC/WotLK

TBC and WotLK have 25-field ItemDisplayInfo.dbc (vs 23 in Classic/Turtle)
with 2 extra fields before the texture region block. The texture fields
start at index 15 (not 14), shifting all 8 regions by +1.

This caused every equipment texture to be composited into the wrong body
region — e.g. LegLower textures landing in FootTexture, belt textures in
LegLowerTexture instead of LegUpperTexture ("everything shifted by 1").

Verified against raw DBC binary data: Classic field[14]=ArmUpper,
TBC/WotLK field[15]=ArmUpper.
This commit is contained in:
Kelsi 2026-04-03 21:52:20 -07:00
parent 44df2a1e28
commit 3111fa50e8
2 changed files with 16 additions and 16 deletions

View file

@ -119,14 +119,14 @@
"InventoryIcon": 5, "InventoryIcon": 5,
"LeftModel": 1, "LeftModel": 1,
"LeftModelTexture": 3, "LeftModelTexture": 3,
"TextureArmLower": 15, "TextureArmLower": 16,
"TextureArmUpper": 14, "TextureArmUpper": 15,
"TextureFoot": 21, "TextureFoot": 22,
"TextureHand": 16, "TextureHand": 17,
"TextureLegLower": 20, "TextureLegLower": 21,
"TextureLegUpper": 19, "TextureLegUpper": 20,
"TextureTorsoLower": 18, "TextureTorsoLower": 19,
"TextureTorsoUpper": 17 "TextureTorsoUpper": 18
}, },
"ItemSet": { "ItemSet": {
"ID": 0, "ID": 0,

View file

@ -131,14 +131,14 @@
"InventoryIcon": 5, "InventoryIcon": 5,
"LeftModel": 1, "LeftModel": 1,
"LeftModelTexture": 3, "LeftModelTexture": 3,
"TextureArmLower": 15, "TextureArmLower": 16,
"TextureArmUpper": 14, "TextureArmUpper": 15,
"TextureFoot": 21, "TextureFoot": 22,
"TextureHand": 16, "TextureHand": 17,
"TextureLegLower": 20, "TextureLegLower": 21,
"TextureLegUpper": 19, "TextureLegUpper": 20,
"TextureTorsoLower": 18, "TextureTorsoLower": 19,
"TextureTorsoUpper": 17 "TextureTorsoUpper": 18
}, },
"ItemSet": { "ItemSet": {
"ID": 0, "ID": 0,