summaryrefslogtreecommitdiff
path: root/src/object/lightDoor.c
diff options
context:
space:
mode:
authorHenny022p <info@henny022.de>2025-03-02 17:36:29 +0000
committerHenny022p <info@henny022.de>2025-03-09 18:57:54 +0000
commit58c948b8c4734bd7735edf918cae0af39771647c (patch)
tree2478f0e4f412849c8bea8e3b3a6cd07300c700e8 /src/object/lightDoor.c
parentcd2b8d4b531ee5b4b78d04964a3f895edc31db73 (diff)
name flag fields in structs
Diffstat (limited to 'src/object/lightDoor.c')
-rw-r--r--src/object/lightDoor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object/lightDoor.c b/src/object/lightDoor.c
index 3bb41e19..ebce1433 100644
--- a/src/object/lightDoor.c
+++ b/src/object/lightDoor.c
@@ -12,7 +12,7 @@
typedef struct {
/*0x00*/ Entity base;
/*0x68*/ u8 unk_68[30];
- /*0x86*/ u16 unk_86;
+ /*0x86*/ u16 flag;
} LightDoorEntity;
void LightDoor_Init(LightDoorEntity*);
@@ -31,7 +31,7 @@ void LightDoor(LightDoorEntity* this) {
void LightDoor_Init(LightDoorEntity* this) {
if (super->type == 0) {
- if (CheckFlags(this->unk_86)) {
+ if (CheckFlags(this->flag)) {
DeleteThisEntity();
}
super->action = 1;