From 75fd8ec0225dbb70b975e941765dce87b09ffce8 Mon Sep 17 00:00:00 2001 From: Cuyler36 Date: Mon, 3 Jul 2023 05:44:06 -0400 Subject: [PATCH] Update ac_train1.c to use updated player process names --- rel/ac_train1.c | 4 ++-- tools/ppcdis | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rel/ac_train1.c b/rel/ac_train1.c index 50b8a385..fc209acb 100644 --- a/rel/ac_train1.c +++ b/rel/ac_train1.c @@ -146,13 +146,13 @@ static void aTR1_passenger_ctrl(ACTOR* actor){ rot.x = ZeroSVec.x; rot.y = ZeroSVec.y; rot.z = ZeroSVec.z; - get_player_actor_withoutCheck((GAME_PLAY*)gamePT)->update_Rot_Pos_actor_proc(gamePT, &pos, &rot, 46); + get_player_actor_withoutCheck((GAME_PLAY*)gamePT)->Set_force_position_angle_proc(gamePT, &pos, &rot, mPlayer_FORCE_POSITION_ANGLE_POSX | mPlayer_FORCE_POSITION_ANGLE_POSY | mPlayer_FORCE_POSITION_ANGLE_POSZ | mPlayer_FORCE_POSITION_ANGLE_ROTY); } else if(train1->player_pass_leaving == 1){ pos.x = train1->actor_class.world_position.x + 2.0f; pos.y = train1->actor_class.world_position.y + 16.0f; pos.z = train1->actor_class.world_position.z + 20.0f; - get_player_actor_withoutCheck((GAME_PLAY*)gamePT)->update_Rot_Pos_actor_proc(gamePT, &pos, NULL, 14); + get_player_actor_withoutCheck((GAME_PLAY*)gamePT)->Set_force_position_angle_proc(gamePT, &pos, NULL, mPlayer_FORCE_POSITION_ANGLE_POSX | mPlayer_FORCE_POSITION_ANGLE_POSY | mPlayer_FORCE_POSITION_ANGLE_POSZ); } } diff --git a/tools/ppcdis b/tools/ppcdis index 396925fc..29c3a248 160000 --- a/tools/ppcdis +++ b/tools/ppcdis @@ -1 +1 @@ -Subproject commit 396925fc9863001532501a1e0a86689389c2deda +Subproject commit 29c3a24832f4c56daf54714f0c298e503a881bb8