Match and fix CPlayerState::CanVisorSeeFog

This commit is contained in:
Henrique Gemignani Passos Lima 2022-10-04 17:11:35 +03:00
parent ad931516a5
commit d2b61199e4
No known key found for this signature in database
GPG Key ID: E224F951761145F8
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() {