From d2b61199e478442931a28545c75f330cbf900941 Mon Sep 17 00:00:00 2001 From: Henrique Gemignani Passos Lima Date: Tue, 4 Oct 2022 17:11:35 +0300 Subject: [PATCH] Match and fix CPlayerState::CanVisorSeeFog --- src/MetroidPrime/Player/CPlayerState.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/MetroidPrime/Player/CPlayerState.cpp b/src/MetroidPrime/Player/CPlayerState.cpp index 15a2eb3c..d18b2c6f 100644 --- a/src/MetroidPrime/Player/CPlayerState.cpp +++ b/src/MetroidPrime/Player/CPlayerState.cpp @@ -391,9 +391,7 @@ CPlayerState::EPlayerVisor CPlayerState::GetActiveVisor(const CStateManager& sta bool CPlayerState::CanVisorSeeFog(const CStateManager& stateMgr) const { EPlayerVisor activeVisor = GetActiveVisor(stateMgr); - if (activeVisor == kPV_Combat || activeVisor == kPV_Scan) - return true; - return true; + return (activeVisor == kPV_Combat || activeVisor == kPV_Scan); } CPlayerState::EPlayerSuit CPlayerState::GetCurrentSuit() {