Match and fix CPlayerState::CanVisorSeeFog

Former-commit-id: d2b61199e4
This commit is contained in:
Henrique Gemignani Passos Lima 2022-10-04 17:11:35 +03:00
parent 19957192ca
commit 5c0e5e0bdf
1 changed files with 1 additions and 3 deletions

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