summaryrefslogtreecommitdiff
path: root/src/d/d_com_static.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/d/d_com_static.cpp')
-rw-r--r--src/d/d_com_static.cpp8
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 };