diff options
| author | Behemoth <Luisscheurenbrand@gmail.com> | 2020-09-18 01:20:53 +0200 |
|---|---|---|
| committer | Behemoth <Luisscheurenbrand@gmail.com> | 2020-09-18 01:21:13 +0200 |
| commit | 34d16a7db5098015386b092cbfcdad8ffdfe9c86 (patch) | |
| tree | deb552c98d3c7e40d6c98b6d9bb226bfe36917e5 /src/object/objectA.c | |
| parent | 7e9ef1afa7054073b2dc24d203b676d83df67297 (diff) | |
decompile madderpillar
Diffstat (limited to 'src/object/objectA.c')
| -rw-r--r-- | src/object/objectA.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object/objectA.c b/src/object/objectA.c index 72c4e61a..60be0b74 100644 --- a/src/object/objectA.c +++ b/src/object/objectA.c @@ -20,7 +20,7 @@ void ObjectA(Entity *this) { uVar2 = 0x34; } this->field_0x70.HALF.LO = uVar2; - if (CheckFlags(this->field_0x86) != 0) { + if (CheckFlags(this->field_0x86.HWORD) != 0) { SetTileType(*(u16*)&this->field_0x70.HALF.LO, COORD_TO_TILE(this), this->collisionLayer); if ((gRoomControls.unk2 & 1) != 0) { gUnk_02000070 = 0; @@ -31,7 +31,7 @@ void ObjectA(Entity *this) { } } else if (this->interactType != 0) { SetTileType(*(u16*)&this->field_0x70.HALF.LO, COORD_TO_TILE(this), this->collisionLayer); - SetFlag(this->field_0x86); + SetFlag(this->field_0x86.HWORD); CreateDust(this); sub_080526F8(-1); DeleteThisEntity(); |
