summaryrefslogtreecommitdiff
path: root/src/roulette_util.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2019-06-26 16:23:00 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2019-06-26 16:42:57 -0400
commitb839c213073f99d73d03bb28f0fd350e13afba09 (patch)
tree554c6ecbc9701bfa7d5397d2e22439f2793b079c /src/roulette_util.c
parentfb06e4a3c94ae17b73df6d3aecf2d18213aa183e (diff)
Fix/suppress warnings when building with gcc-8
Diffstat (limited to 'src/roulette_util.c')
-rwxr-xr-xsrc/roulette_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/roulette_util.c b/src/roulette_util.c
index 16c3e8150..f1f04a73a 100755
--- a/src/roulette_util.c
+++ b/src/roulette_util.c
@@ -408,8 +408,8 @@ void UpdatePulseBlend(struct PulseBlend *pulseBlend)
}
}
break;
- case 2: // Flip back and forth
- // This code is never reached
+ case (MODERN ? -2 : 2): // Flip back and forth
+ // This code is never reached in vanilla
if (pulseBlendPalette->fadeDirection)
pulseBlendPalette->blendCoeff = 0;
else