mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-17 04:31:37 -04:00
fix functions not returning values (#2942)
* fix functions not returning values * implement functions that should return values
This commit is contained in:
@@ -831,7 +831,24 @@ int daNpc_Doc_c::talk(void* param_0) {
|
||||
}
|
||||
|
||||
int daNpc_Doc_c::test(void* i_this) {
|
||||
// DEBUG NONMATCHING
|
||||
int ret = 0;
|
||||
switch(mMode) {
|
||||
case 0:
|
||||
case 1:
|
||||
speedF = 0.0f;
|
||||
speed.setall(0.0f);
|
||||
mMode = 2;
|
||||
// fallthrough
|
||||
case 2:
|
||||
mFaceMotionSeqMngr.setNo(mpHIO->m.common.face_expression, -1.0f, 0, 0);
|
||||
mMotionSeqMngr.setNo(mpHIO->m.common.motion, -1.0f, 0, 0);
|
||||
mJntAnm.lookNone(0);
|
||||
attention_info.flags = 0;
|
||||
break;
|
||||
case 3:
|
||||
break;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int daNpc_Doc_Create(void* i_this) {
|
||||
|
||||
Reference in New Issue
Block a user