mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-12 10:17:23 +01:00
Fix changed equipment access to use new size.
This commit is contained in:
parent
612cd31c3e
commit
240c889fff
1 changed files with 1 additions and 1 deletions
|
|
@ -197,7 +197,7 @@ public sealed unsafe class MaterialManager : IRequiredService, IDisposable
|
||||||
if (human->ChangedEquipData == null)
|
if (human->ChangedEquipData == null)
|
||||||
return ((Model)human).GetArmor(((uint)slotId).ToEquipSlot()).ToWeapon(0);
|
return ((Model)human).GetArmor(((uint)slotId).ToEquipSlot()).ToWeapon(0);
|
||||||
|
|
||||||
return ((CharacterArmor*)human->ChangedEquipData + slotId * 3)->ToWeapon(0);
|
return ((CharacterArmor*)human->ChangedEquipData + slotId * 4)->ToWeapon(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue