diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2019-07-20 12:11:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-20 12:11:46 -0400 |
commit | 4d5c1ca03b4e7db3c44c71afaa01b1549a282a19 (patch) | |
tree | ec2e9ec5f3e4a6d8523e80ab58e6c9c296fbc05c /src/roulette_util.c | |
parent | 3f762629e830c0cad66c4efeea5b918bdf4cce20 (diff) | |
parent | 6edacdee36d31b2df69559f28a33b8d9e958bf5e (diff) |
Merge pull request #732 from PikalaxALT/modern_gcc
Modernize code for compatibility with later releases of GCC
Diffstat (limited to 'src/roulette_util.c')
-rwxr-xr-x | src/roulette_util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/roulette_util.c b/src/roulette_util.c index 9531302d9..f1f04a73a 100755 --- a/src/roulette_util.c +++ b/src/roulette_util.c @@ -408,7 +408,8 @@ void UpdatePulseBlend(struct PulseBlend *pulseBlend) } } break; - case 2: // Flip back and forth + case (MODERN ? -2 : 2): // Flip back and forth + // This code is never reached in vanilla if (pulseBlendPalette->fadeDirection) pulseBlendPalette->blendCoeff = 0; else |