diff options
| author | hatal175 <hatal175@users.noreply.github.com> | 2025-06-02 06:36:19 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-01 20:36:19 -0700 |
| commit | 588b20679dd6f23b52084e888c199d5b3ec85a0e (patch) | |
| tree | bedfc51f92d2c410e5b11eaa0498fe5a5dcb2d25 /src/d/d_s_play.cpp | |
| parent | 8e91607e5582feb846354aa75630905e9d8089c7 (diff) | |
Sakuita rope Matching (#2470)
* Change dComIfGp_getAttention to return a pointer
* d_a_obj_sakuita_rope Matching
Diffstat (limited to 'src/d/d_s_play.cpp')
| -rw-r--r-- | src/d/d_s_play.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/d/d_s_play.cpp b/src/d/d_s_play.cpp index 79f7f0aa42..0b545fbcb0 100644 --- a/src/d/d_s_play.cpp +++ b/src/d/d_s_play.cpp @@ -170,7 +170,7 @@ static int dScnPly_Draw(dScnPly_c* i_this) { if (!dComIfGp_isPauseFlag()) { dEyeHL_mng_c::update(); dComIfG_Ccsp()->Draw(); - dComIfGp_getAttention().Draw(); + dComIfGp_getAttention()->Draw(); } return 1; @@ -198,7 +198,7 @@ static int dScnPly_Execute(dScnPly_c* i_this) { if (!dComIfGp_isPauseFlag()) { dDemo_c::update(); dComIfGp_getEvent().Step(); - dComIfGp_getAttention().Run(); + dComIfGp_getAttention()->Run(); } return 1; } @@ -242,7 +242,7 @@ static int dScnPly_Delete(dScnPly_c* i_this) { dMpath_c::remove(); dTres_c::remove(); - dComIfGp_getAttention().~dAttention_c(); + dComIfGp_getAttention()->~dAttention_c(); dComIfGp_getVibration().Remove(); dComIfG_Bgsp().Dt(); @@ -641,7 +641,7 @@ static int phase_4(dScnPly_c* i_this) { mDoGph_gInf_c::setTickRate((OS_BUS_CLOCK / 4) / 30); g_envHIO.field_0x4 = -1; g_save_bit_HIO.field_0x4 = -1; - new (&dComIfGp_getAttention()) dAttention_c(dComIfGp_getPlayer(0), 0); + new (dComIfGp_getAttention()) dAttention_c(dComIfGp_getPlayer(0), 0); dComIfGp_getVibration().Init(); daYkgr_c::init(); |
