From 69902c99c81d5b52ad04933683574d768817aa64 Mon Sep 17 00:00:00 2001 From: Marc-Antoine Lortie Date: Tue, 17 Dec 2019 18:22:22 -0500 Subject: [PATCH] Restored PACK_STRUCT on AnimValue_HL1 union and removed PACK_STRUCT on inner struct. My apologies, as this was a mistake. I misread the problem and removed the wrong PACK_STRUCT. --- code/MDL/HalfLife/HL1FileData.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/MDL/HalfLife/HL1FileData.h b/code/MDL/HalfLife/HL1FileData.h index f2b51309f..1fbfe1430 100644 --- a/code/MDL/HalfLife/HL1FileData.h +++ b/code/MDL/HalfLife/HL1FileData.h @@ -231,9 +231,9 @@ union AnimValue_HL1 { struct { uint8_t valid; uint8_t total; - } num PACK_STRUCT; + } num; short value; -}; +} PACK_STRUCT; // body part index struct Bodypart_HL1 {