summaryrefslogtreecommitdiff
path: root/include/d/d_path.h
diff options
context:
space:
mode:
authorCaroline Madsen <69010899+randomsalience@users.noreply.github.com>2024-04-26 22:20:26 -0400
committerGitHub <noreply@github.com>2024-04-26 19:20:26 -0700
commit669c7d920b196d8f1b998420014bcc9397abaa32 (patch)
treeb8d660dc7d05769be5e6aa1c91f184b3389ecc10 /include/d/d_path.h
parentc163dc9ed31c69eb791be1dcdcd7ab8b296e95a1 (diff)
d_a_npc_zra mostly done, misc npc work (#2140)
Diffstat (limited to 'include/d/d_path.h')
-rw-r--r--include/d/d_path.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/d/d_path.h b/include/d/d_path.h
index 6906646b5f..82e25d6b5c 100644
--- a/include/d/d_path.h
+++ b/include/d/d_path.h
@@ -11,12 +11,12 @@ struct dPath {
/* 0x0 */ u16 m_num;
/* 0x2 */ u16 m_nextID;
/* 0x4 */ u8 field_0x4;
- /* 0x5 */ u8 m_closed;
+ /* 0x5 */ bool m_closed;
/* 0x6 */ u8 field_0x6;
/* 0x8 */ dStage_dPnt_c* m_points;
};
-inline int dPath_ChkClose(dPath* i_path) { return (i_path->m_closed & 1); }
+inline BOOL dPath_ChkClose(dPath* i_path) { return i_path->m_closed & 1; }
dPath* dPath_GetRoomPath(int path_index, int room_no);
dPath* dPath_GetNextRoomPath(dPath const* i_path, int room_no);