diff options
| author | Roman971 <32455037+Roman971@users.noreply.github.com> | 2022-05-12 15:04:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-12 09:04:37 -0400 |
| commit | 92aef346f2bd7167b892beddafd0959801df0e3c (patch) | |
| tree | bdaed9512cab3ebdd3ecee4961688c86a8fbab67 /src/code/z_parameter.c | |
| parent | c799176a30c5a1389c720bdfcdf4c1c9f3b07b32 (diff) | |
Remove many redundant parentheses (eg. in boolean conditions) (#1220)
* Remove many unnecessary parens around boolean conditions
* Remove duplicate parens in some expressions
* Apply review suggestions
* Update src/overlays/actors/ovl_Bg_Jya_Lift/z_bg_jya_lift.c
Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com>
Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com>
Diffstat (limited to 'src/code/z_parameter.c')
| -rw-r--r-- | src/code/z_parameter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_parameter.c b/src/code/z_parameter.c index dc0468a5b..e6e448fd0 100644 --- a/src/code/z_parameter.c +++ b/src/code/z_parameter.c @@ -3711,7 +3711,7 @@ void Interface_Draw(GlobalContext* globalCtx) { &gSfxDefaultFreqAndVolScale, &gSfxDefaultReverb); } } else if (gSaveContext.timer2Value > 10) { - if ((timerDigits[4] & 1)) { + if (timerDigits[4] & 1) { Audio_PlaySoundGeneral(NA_SE_SY_WARNING_COUNT_N, &gSfxDefaultPos, 4, &gSfxDefaultFreqAndVolScale, &gSfxDefaultFreqAndVolScale, &gSfxDefaultReverb); |
