fix functions not returning values (#3018)

This commit is contained in:
Jcw87
2026-01-05 03:55:35 -08:00
committed by GitHub
parent 767e3ba17e
commit 22dc7a37db
10 changed files with 65 additions and 23 deletions
+19
View File
@@ -818,6 +818,25 @@ BOOL daNpc_Hoz_c::drawDbgInfo() {
int daNpc_Hoz_c::test(void* i_this) {
// DEBUG NONMATCHING
int r30 = 0;
switch (mMode) {
case 0:
case 1:
speedF = 0.0f;
speed.setall(0.0f);
mMode = 2;
// fall-through
case 2:
// TODO: determine pointer type of field_0xE40
mFaceMotionSeqMngr.setNo(field_0xE40, -1.0f, 0, 0);
mMotionSeqMngr.setNo(field_0xE40, -1.0f, 0, 0);
mJntAnm.lookNone(0);
attention_info.flags = 0;
case 3:
default:
break;
}
return r30;
}
int daNpc_Hoz_c::selectAction() {