Skip to content

Commit 7f8bf01

Browse files
committed
Fix C043 size
1 parent 2a2f637 commit 7f8bf01

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

XAT/XAT/Game/Formats/Tmb/Entries/C043Format.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ public class C043Format : TmbEntry
2323
public int Unk3 { get; set; } = 0;
2424

2525
[UserType]
26-
public int Unk4 { get; set; } = 0;
26+
public short Unk4 { get; set; } = 0;
2727

2828
[UserType]
29-
public int Unk5 { get; set; } = 0;
29+
public short Unk5 { get; set; } = 0;
3030

3131
[UserType]
3232
public int Unk6 { get; set; } = 0;
@@ -43,8 +43,8 @@ public C043Format(TmbReadContext context)
4343
Unk1 = context.Reader.ReadInt32();
4444
Unk2 = context.Reader.ReadInt32();
4545
Unk3 = context.Reader.ReadInt32();
46-
Unk4 = context.Reader.ReadInt32();
47-
Unk5 = context.Reader.ReadInt32();
46+
Unk4 = context.Reader.ReadInt16();
47+
Unk5 = context.Reader.ReadInt16();
4848
Unk6 = context.Reader.ReadInt32();
4949
}
5050

0 commit comments

Comments
 (0)