clang reports: unclear || + && and &+| mixes.

This commit is contained in:
Azaezel 2016-10-14 17:26:13 -05:00
parent 1131ed15df
commit c57b1a8b70
16 changed files with 30 additions and 28 deletions

View file

@ -440,7 +440,7 @@ void LightFlareData::prepRender(SceneRenderState *state, LightFlareState *flareS
// We can only skip rendering if the light is not
// visible, and it has elapsed the fade out time.
if (mIsZero(occlusionFade) ||
!lightVisible && visDelta > FadeOutTime)
(!lightVisible && visDelta > FadeOutTime))
return;
const RectI &viewport = GFX->getViewport();