From 3d8c5d4ab4c61bf6c61f71cc8ddb54c38282ab6f Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Thu, 26 Dec 2024 14:53:35 -0800 Subject: [PATCH] Revert change in CPlayerGun --- src/MetroidPrime/Player/CPlayerGun.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MetroidPrime/Player/CPlayerGun.cpp b/src/MetroidPrime/Player/CPlayerGun.cpp index 0f94cc66..0800082c 100644 --- a/src/MetroidPrime/Player/CPlayerGun.cpp +++ b/src/MetroidPrime/Player/CPlayerGun.cpp @@ -365,7 +365,7 @@ void CPlayerGun::PreRender(CStateManager& mgr, const CFrustumPlanes& frustum, } if (x833_28_phazonBeamActive) { - IWeaponRenderer::SetRenderer(IWeaponRenderer *renderer)->AllocatePhazonSuitMaskTexture(); + gpRender->AllocatePhazonSuitMaskTexture(); } }