diff options
| author | SuperDude88 <82904174+SuperDude88@users.noreply.github.com> | 2024-06-16 01:55:31 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-15 22:55:31 -0700 |
| commit | 3f0845880920b2d72fc2cc99d189af83ca33cd55 (patch) | |
| tree | 4a747042a141dae53b34fe6270456246323a3cd3 /src/d/d_com_static.cpp | |
| parent | e855019ab4a87e853a9993d7689d0750302bf50c (diff) | |
d_a_npc_people Almost OK (#658)
* daNpcPeople Work
* Oops
Somehow I break this file every time I touch it
Diffstat (limited to 'src/d/d_com_static.cpp')
| -rw-r--r-- | src/d/d_com_static.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/d/d_com_static.cpp b/src/d/d_com_static.cpp index 7b8dd7ff..4cc67191 100644 --- a/src/d/d_com_static.cpp +++ b/src/d/d_com_static.cpp @@ -211,13 +211,13 @@ const u16 daDai_c::m_savelabel[] = { }; /* 800568A8-800568B0 .text getMaxDaiza__7daDai_cFv */ -s8 daDai_c::getMaxDaiza() { - return mNowDaizaNum; +int daDai_c::getMaxDaiza() { + return (u8)mNowDaizaNum; // cast is weird, but it's the only way I've found to match its uses in d_a_npc_people } /* 800568B0-800568B8 .text getDaizaSetItemNum__7daDai_cFv */ -s8 daDai_c::getDaizaSetItemNum() { - return mNowItemNum; +int daDai_c::getDaizaSetItemNum() { + return (u8)mNowItemNum; // cast is weird, but it's the only way I've found to match its uses in d_a_npc_people } bool daNpc_Os_c::m_playerRoom[3] = { false, false, false }; |
