Fix/suppress warnings when building with gcc-8

This commit is contained in:
PikalaxALT
2019-06-26 16:23:00 -04:00
parent fb06e4a3c9
commit b839c21307
37 changed files with 114 additions and 111 deletions

View File

@@ -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