mirror of https://github.com/PrimeDecomp/prime.git
Match and fix CPlayerState::CanVisorSeeFog
This commit is contained in:
parent
ad931516a5
commit
d2b61199e4
|
@ -391,9 +391,7 @@ CPlayerState::EPlayerVisor CPlayerState::GetActiveVisor(const CStateManager& sta
|
||||||
|
|
||||||
bool CPlayerState::CanVisorSeeFog(const CStateManager& stateMgr) const {
|
bool CPlayerState::CanVisorSeeFog(const CStateManager& stateMgr) const {
|
||||||
EPlayerVisor activeVisor = GetActiveVisor(stateMgr);
|
EPlayerVisor activeVisor = GetActiveVisor(stateMgr);
|
||||||
if (activeVisor == kPV_Combat || activeVisor == kPV_Scan)
|
return (activeVisor == kPV_Combat || activeVisor == kPV_Scan);
|
||||||
return true;
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
CPlayerState::EPlayerSuit CPlayerState::GetCurrentSuit() {
|
CPlayerState::EPlayerSuit CPlayerState::GetCurrentSuit() {
|
||||||
|
|
Loading…
Reference in New Issue