summaryrefslogtreecommitdiff
path: root/include/entity.h
diff options
context:
space:
mode:
authorTal Hayon <talhayon1@gmail.com>2021-12-28 05:54:56 +0200
committerTal Hayon <talhayon1@gmail.com>2021-12-28 05:54:56 +0200
commit9dac4f766060ff430c84966e0e5f874d1c2d1bbd (patch)
treea9949511289e5378147986ae5517a59e49be3a65 /include/entity.h
parent9efd8da10499ae493d12af382fcba6089d653ee1 (diff)
Marked bitfield with masks like all the rest
Diffstat (limited to 'include/entity.h')
-rw-r--r--include/entity.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/entity.h b/include/entity.h
index ef7ae85f..ecea4a9d 100644
--- a/include/entity.h
+++ b/include/entity.h
@@ -94,10 +94,10 @@ typedef struct Entity_ {
/*0x24*/ s16 speed;
/*0x26*/ u8 spriteAnimation[3];
/*0x29*/ struct {
- /* */ u8 b0 : 3; // 0-2
- /* */ u8 b1 : 3; // 3-5
- /* */ u8 b2 : 1; // 6
- /* */ u8 b3 : 1; // 7
+ /* */ u8 b0 : 3; // 1-4
+ /* */ u8 b1 : 3; // 8
+ /* */ u8 b2 : 1; // 0x40
+ /* */ u8 b3 : 1; // 0x80
/* */ } PACKED spritePriority;
/*0x2a*/ u16 collisions;
/*0x2c*/ union SplitWord x;