Skip to content

Commit

Permalink
fix a couple f_op_actor_mng functions
Browse files Browse the repository at this point in the history
  • Loading branch information
TakaRikka committed Nov 26, 2024
1 parent 71077d5 commit 276c3c1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/d/d_com_inf_game.h
Original file line number Diff line number Diff line change
Expand Up @@ -3393,19 +3393,19 @@ inline void dComIfGp_event_setTalkPartner(fopAc_ac_c* i_actor) {
}

inline fopAc_ac_c* dComIfGp_event_getTalkPartner() {
return g_dComIfG_gameInfo.play.getEvent().getPtT();
return (fopAc_ac_c*)g_dComIfG_gameInfo.play.getEvent().getPtT();
}

inline fopAc_ac_c* dComIfGp_event_getItemPartner() {
return g_dComIfG_gameInfo.play.getEvent().getPtI();
return (fopAc_ac_c*)g_dComIfG_gameInfo.play.getEvent().getPtI();
}

inline fopAc_ac_c* dComIfGp_event_getPt1() {
return g_dComIfG_gameInfo.play.getEvent().getPt1();
return (fopAc_ac_c*)g_dComIfG_gameInfo.play.getEvent().getPt1();
}

inline fopAc_ac_c* dComIfGp_event_getPt2() {
return g_dComIfG_gameInfo.play.getEvent().getPt2();
return (fopAc_ac_c*)g_dComIfG_gameInfo.play.getEvent().getPt2();
}

inline BOOL dComIfGp_event_runCheck() {
Expand Down

0 comments on commit 276c3c1

Please sign in to comment.