summaryrefslogtreecommitdiff
path: root/include/d/d_camera.h
diff options
context:
space:
mode:
authorhatal175 <hatal175@users.noreply.github.com>2025-06-02 06:36:19 +0300
committerGitHub <noreply@github.com>2025-06-01 20:36:19 -0700
commit588b20679dd6f23b52084e888c199d5b3ec85a0e (patch)
treebedfc51f92d2c410e5b11eaa0498fe5a5dcb2d25 /include/d/d_camera.h
parent8e91607e5582feb846354aa75630905e9d8089c7 (diff)
Sakuita rope Matching (#2470)
* Change dComIfGp_getAttention to return a pointer * d_a_obj_sakuita_rope Matching
Diffstat (limited to 'include/d/d_camera.h')
-rw-r--r--include/d/d_camera.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/d/d_camera.h b/include/d/d_camera.h
index 69f41e4846..38b63295a2 100644
--- a/include/d/d_camera.h
+++ b/include/d/d_camera.h
@@ -10,7 +10,7 @@
#include "d/d_stage.h"
#include "f_op/f_op_actor.h"
-dAttention_c& dComIfGp_getAttention();
+dAttention_c* dComIfGp_getAttention();
struct dCamMapToolData {
dCamMapToolData() { Clr(); }
@@ -419,9 +419,9 @@ public:
}
void Att() {
- dAttention_c& attn = dComIfGp_getAttention();
- mpLockonTarget = attn.LockonTruth() ? attn.LockonTarget(0) : NULL;
- attn.LockSoundOn();
+ dAttention_c* attn = dComIfGp_getAttention();
+ mpLockonTarget = attn->LockonTruth() ? attn->LockonTarget(0) : NULL;
+ attn->LockSoundOn();
}
void SetWindow(f32 param_0, f32 param_1) {