mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-12 18:27:24 +01:00
Update weapon changed data offset.
This commit is contained in:
parent
f9c7e567b6
commit
86d370226a
1 changed files with 2 additions and 1 deletions
|
|
@ -200,7 +200,8 @@ public sealed unsafe class MaterialManager : IRequiredService, IDisposable
|
|||
/// </summary>
|
||||
private static CharacterWeapon GetTempSlot(Weapon* weapon)
|
||||
{
|
||||
var changedData = *(void**)((byte*)weapon + 0xA00);
|
||||
// TODO: Use ClientStructs
|
||||
var changedData = *(void**)((byte*)weapon + 0xA40);
|
||||
if (changedData == null)
|
||||
return new CharacterWeapon(weapon->ModelSetId, weapon->SecondaryId, (Variant)weapon->Variant, StainIds.FromWeapon(*weapon));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue