diff options
author | nullableVoidPtr <30564701+nullableVoidPtr@users.noreply.github.com> | 2018-12-05 22:31:01 +0800 |
---|---|---|
committer | nullableVoidPtr <30564701+nullableVoidPtr@users.noreply.github.com> | 2018-12-06 10:38:28 +0800 |
commit | f9ff7316d5c7277eb7482e30121388cd65f4ecfc (patch) | |
tree | ee8f4a9c338f880a3585d6e9ed9ed695f27cef3d /src/field_door.c | |
parent | 405f1bb529809b8169364737087189df0fcca1d2 (diff) |
Remove uses of INVALID_ defines, clean up some arrays with constants, and spaces -> tabs
Diffstat (limited to 'src/field_door.c')
-rw-r--r-- | src/field_door.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/field_door.c b/src/field_door.c index a1fe5bb97..c197aca14 100644 --- a/src/field_door.c +++ b/src/field_door.c @@ -695,7 +695,7 @@ static void DrawClosedDoorTiles(const struct DoorGraphics *gfx, u32 x, u32 y) static void DrawDoor(const struct DoorGraphics *gfx, const struct DoorAnimFrame *frame, u32 x, u32 y) { - if (frame->offset == INVALID_U16) + if (frame->offset == 0xFFFF) { DrawClosedDoorTiles(gfx, x, y); if (sub_808A964()) |