diff options
| author | Jeffrey Crowell <github@crowell.biz> | 2026-01-17 19:15:44 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-17 19:15:44 -0800 |
| commit | a5b7f2d1c473728203fe206e79abbc43ff8ade07 (patch) | |
| tree | 494531565a8d16a37a9563b93887df64da708d92 /src/d/actor/d_a_npc_hoz.cpp | |
| parent | d45b10d0fd2697b29f7a88e29456dda6cf0aeae6 (diff) | |
fix build in daNpc_Hoz_c::test (#3050)
mMotionSeqMngr.setNo and mFaceMotionSeqMngr.setNo were called with int instead of the proper pointer.
Diffstat (limited to 'src/d/actor/d_a_npc_hoz.cpp')
| -rw-r--r-- | src/d/actor/d_a_npc_hoz.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/actor/d_a_npc_hoz.cpp b/src/d/actor/d_a_npc_hoz.cpp index bbf8240ce3..8b5bd3f856 100644 --- a/src/d/actor/d_a_npc_hoz.cpp +++ b/src/d/actor/d_a_npc_hoz.cpp @@ -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: |
