From 5b93ac046f1a1d7b4b389eff84da58174f165c54 Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Thu, 15 Sep 2022 22:14:30 -0700 Subject: [PATCH] fix explicit endianness in some command formats --- src/CommandFormats.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/CommandFormats.hh b/src/CommandFormats.hh index 6c7338fb..9da0fbc6 100644 --- a/src/CommandFormats.hh +++ b/src/CommandFormats.hh @@ -2144,8 +2144,8 @@ struct S_GuildCardHeader_BB_01DC { }; struct S_GuildCardFileChunk_02DC { - uint32_t unknown; // 0 - uint32_t chunk_index; + le_uint32_t unknown; // 0 + le_uint32_t chunk_index; uint8_t data[0x6800]; // Command may be shorter if this is the last chunk }; @@ -3024,7 +3024,7 @@ struct G_WalkToPosition_6x40 { le_uint16_t client_id; le_float x; le_float z; - uint32_t unused; + le_uint32_t unused; }; // 41: Unknown