summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_mg_fish.cpp
diff options
context:
space:
mode:
authorMax Roncace <me@caseif.net>2025-11-25 15:30:14 -0500
committerGitHub <noreply@github.com>2025-11-25 22:30:14 +0200
commit360bad39952e0b9ad72cfa75a2763ef9dab69064 (patch)
treea1659f4d7dfb924736a61fa482bbc496527c1275 /src/d/actor/d_a_mg_fish.cpp
parent7ca9ef46dbfd335fa67ee5c5099816d7f6ba564f (diff)
Clean up some fakematches, mostly around gameInfo loads (#2862)
Diffstat (limited to 'src/d/actor/d_a_mg_fish.cpp')
-rw-r--r--src/d/actor/d_a_mg_fish.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/actor/d_a_mg_fish.cpp b/src/d/actor/d_a_mg_fish.cpp
index cadbf2059e..405511ddd8 100644
--- a/src/d/actor/d_a_mg_fish.cpp
+++ b/src/d/actor/d_a_mg_fish.cpp
@@ -2186,7 +2186,7 @@ static void pota_set(mg_fish_class* i_this) {
/* 8053055C-80530924 00691C 03C8+00 1/1 0/0 0/0 .text mf_catch__FP13mg_fish_class */
static void mf_catch(mg_fish_class* i_this) {
- daAlink_c* player = g_dComIfG_gameInfo.play.mPlayer[0];
+ daPy_py_c* player = (daPy_py_c*)dComIfGp_getPlayer(0);
if (i_this->actor.health == 2) {
fopAcM_delete(&i_this->actor);
return;
@@ -2480,7 +2480,7 @@ static void mf_esa_hit(mg_fish_class* i_this) {
/* 805313D8-8053198C 007798 05B4+00 1/1 0/0 0/0 .text mf_esa_catch__FP13mg_fish_class */
static s32 mf_esa_catch(mg_fish_class* i_this) {
- daAlink_c* player = g_dComIfG_gameInfo.play.mPlayer[0];
+ fopAc_ac_c* player = dComIfGp_getPlayer(0);
dmg_rod_class* rod = (dmg_rod_class*)fopAcM_SearchByID(i_this->mRodId);
if (rod == NULL) {