Match and fix CPlayerState::CanVisorSeeFog

Former-commit-id: d2b61199e478442931a28545c75f330cbf900941
This commit is contained in:
Henrique Gemignani Passos Lima 2022-10-04 17:11:35 +03:00
parent 19957192ca
commit 5c0e5e0bdf

View File

@ -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() {