fix build in daNpc_Hoz_c::test (#3050)

mMotionSeqMngr.setNo and mFaceMotionSeqMngr.setNo were called with int instead of the proper pointer.
This commit is contained in:
Jeffrey Crowell 2026-01-17 19:15:44 -08:00 committed by GitHub
parent d45b10d0fd
commit a5b7f2d1c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -854,8 +854,8 @@ int daNpc_Hoz_c::test(void* i_this) {
mMode = 2;
// fall-through
case 2:
mFaceMotionSeqMngr.setNo((int)mpHIO, -1.0f, 0, 0);
mMotionSeqMngr.setNo((int)mpHIO, -1.0f, 0, 0);
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;
case 3: