summaryrefslogtreecommitdiff
path: root/src/d/d_attention.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-06-09 23:29:34 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2025-06-09 23:29:34 -0400
commite7d0df1e50a9f55ed7f0a89908ffabffe27b39b8 (patch)
tree493d8e347332ab2cd711d1ee1d205f3e4f9382c3 /src/d/d_attention.cpp
parent6404bc476582be92151d131c19a159225d824d82 (diff)
Cleanup player struct
Diffstat (limited to 'src/d/d_attention.cpp')
-rw-r--r--src/d/d_attention.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/d_attention.cpp b/src/d/d_attention.cpp
index 2ed67b12..1d6b4a9f 100644
--- a/src/d/d_attention.cpp
+++ b/src/d/d_attention.cpp
@@ -1224,7 +1224,7 @@ bool dAttLook_c::request(fopAc_ac_c* reqActor, f32 horizontalDist, f32 upDist, f
/* 800A009C-800A0270 .text requestF__10dAttLook_cFP10fopAc_ac_csi */
bool dAttLook_c::requestF(fopAc_ac_c* reqActor, s16 angle, int param_3) {
// TODO: what is param_3?
- fopAc_ac_c* player = g_dComIfG_gameInfo.play.mpPlayer[0];
+ fopAc_ac_c* player = dComIfGp_getPlayer(0);
if (param_3 > field_0x4) {
return false;
}