CCompoundTargetReticle: Convert unnecessary floats into bools

Using floats here is extremely suspect and almost certainly
unintentional.
This commit is contained in:
Lioncash 2020-04-13 16:54:40 -04:00
parent 1767338aba
commit 85f930ef2e
1 changed files with 4 additions and 4 deletions

View File

@ -117,10 +117,10 @@ void CCompoundTargetReticle::Update(float dt, const CStateManager& mgr) {
}
if (x20_prevState != x24_nextState && x28_noDrawTicks <= 0) {
x20_prevState = x24_nextState;
float combat = false;
float scan = false;
float xray = false;
float thermal = false;
bool combat = false;
bool scan = false;
bool xray = false;
bool thermal = false;
switch (x24_nextState) {
case EReticleState::Combat:
combat = true;