Skip to content

Commit

Permalink
Merge pull request #110 from ZetaTwo/player-unk2-value
Browse files Browse the repository at this point in the history
Change the zero const to a signed integer in the de/player struct
  • Loading branch information
happyleavesaoc authored Sep 29, 2024
2 parents 0db5cb4 + 4c643a9 commit 90e0581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mgz/header/de.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"name"/de_string,
"type"/PlayerTypeEnum(Int32ul),
"profile_id"/Int32ul,
Const(b"\x00\x00\x00\x00"),
"ai_unknown" / Int32sl, # Often 0, sometimes -1 for AI players
"player_number"/Int32sl,
"hd_rm_elo"/If(lambda ctx: find_save_version(ctx) < 25.22, Int32ul),
"hd_dm_elo"/If(lambda ctx: find_save_version(ctx) < 25.22, Int32ul),
Expand Down

0 comments on commit 90e0581

Please sign in to comment.