mirror of
https://github.com/zeldaret/tp
synced 2026-06-09 04:40:05 -04:00
Sakuita rope Matching (#2470)
* Change dComIfGp_getAttention to return a pointer * d_a_obj_sakuita_rope Matching
This commit is contained in:
+4
-4
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user