Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
types: fix collision flag bit field
Browse files Browse the repository at this point in the history
Resolves #2
  • Loading branch information
rr- committed Nov 2, 2023
1 parent 2e91d27 commit 1fa9247
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/progress.txt
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ typedef struct __unaligned COLL_INFO {
int8_t z_tilt;
int8_t hit_by_baddie;
int8_t hit_static;
uint16_t slopes_are_walls : 2;
uint16_t slopes_are_walls : 1;
uint16_t slopes_are_pits : 1;
uint16_t lava_is_pit : 1;
uint16_t enable_baddie_push : 1;
Expand Down
2 changes: 1 addition & 1 deletion src/global/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ typedef struct COLL_INFO {
int8_t z_tilt;
int8_t hit_by_baddie;
int8_t hit_static;
uint16_t slopes_are_walls : 2;
uint16_t slopes_are_walls : 1;
uint16_t slopes_are_pits : 1;
uint16_t lava_is_pit : 1;
uint16_t enable_baddie_push : 1;
Expand Down

0 comments on commit 1fa9247

Please sign in to comment.