Require less unaligned lumps to load

This commit is contained in:
Lephenixnoir 2021-08-25 15:17:57 +02:00
parent 34920bbacb
commit cc2fed1be4
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
1 changed files with 3 additions and 3 deletions

View File

@ -90,7 +90,7 @@ typedef struct
short tagLE;
// sidenum[1] will be -1 if one sided
short sidenum[2];
} maplinedef_t;
} __attribute__((packed, aligned(1))) maplinedef_t;
//
@ -193,7 +193,7 @@ typedef struct
// else it's a node of another subtree.
unsigned short children[2];
} mapnode_t;
} __attribute__((packed, aligned(1))) mapnode_t;
@ -207,7 +207,7 @@ typedef struct
short angle;
short type;
short options;
} mapthing_t;
} __attribute__((packed, aligned(1))) mapthing_t;