mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-07-06 07:56:10 +00:00
Match and fix CPlayerState::CanVisorSeeFog
Former-commit-id: d2b61199e478442931a28545c75f330cbf900941
This commit is contained in:
parent
19957192ca
commit
5c0e5e0bdf
@ -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…
x
Reference in New Issue
Block a user