mirror of
https://github.com/encounter/tp.git
synced 2026-07-11 06:18:46 -07:00
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:
@@ -854,8 +854,8 @@ int daNpc_Hoz_c::test(void* i_this) {
|
|||||||
mMode = 2;
|
mMode = 2;
|
||||||
// fall-through
|
// fall-through
|
||||||
case 2:
|
case 2:
|
||||||
mFaceMotionSeqMngr.setNo((int)mpHIO, -1.0f, 0, 0);
|
mFaceMotionSeqMngr.setNo(mpHIO->m.common.face_expression, -1.0f, 0, 0);
|
||||||
mMotionSeqMngr.setNo((int)mpHIO, -1.0f, 0, 0);
|
mMotionSeqMngr.setNo(mpHIO->m.common.motion, -1.0f, 0, 0);
|
||||||
mJntAnm.lookNone(0);
|
mJntAnm.lookNone(0);
|
||||||
attention_info.flags = 0;
|
attention_info.flags = 0;
|
||||||
case 3:
|
case 3:
|
||||||
|
|||||||
Reference in New Issue
Block a user