diff options
| author | Tal Hayon <talhayon1@gmail.com> | 2021-12-28 05:27:27 +0200 |
|---|---|---|
| committer | Tal Hayon <talhayon1@gmail.com> | 2021-12-28 05:27:27 +0200 |
| commit | 9efd8da10499ae493d12af382fcba6089d653ee1 (patch) | |
| tree | c274b42a1d7fe70bfff1eab4f684f6fdc713a831 /include/entity.h | |
| parent | 60e74d1ba9827086c7fd31a5702132fda4612813 (diff) | |
Improve nonmatching state in collision.c
Diffstat (limited to 'include/entity.h')
| -rw-r--r-- | include/entity.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/entity.h b/include/entity.h index 43c3b721..ef7ae85f 100644 --- a/include/entity.h +++ b/include/entity.h @@ -94,9 +94,10 @@ typedef struct Entity_ { /*0x24*/ s16 speed; /*0x26*/ u8 spriteAnimation[3]; /*0x29*/ struct { - /* */ u8 b0 : 3; // 1-4 - /* */ u8 b1 : 3; // 8 - /* */ u8 b2 : 2; //0x40 + /* */ u8 b0 : 3; // 0-2 + /* */ u8 b1 : 3; // 3-5 + /* */ u8 b2 : 1; // 6 + /* */ u8 b3 : 1; // 7 /* */ } PACKED spritePriority; /*0x2a*/ u16 collisions; /*0x2c*/ union SplitWord x; |
