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.
pull/2838/head
Marc-Antoine Lortie 2019-12-17 18:22:22 -05:00
parent 188ee6562e
commit 69902c99c8
1 changed files with 2 additions and 2 deletions

View File

@ -231,9 +231,9 @@ union AnimValue_HL1 {
struct { struct {
uint8_t valid; uint8_t valid;
uint8_t total; uint8_t total;
} num PACK_STRUCT; } num;
short value; short value;
}; } PACK_STRUCT;
// body part index // body part index
struct Bodypart_HL1 { struct Bodypart_HL1 {