Merge branch 'invertfix' into 'master'

Fixed the Encore mode invert wipe.

See merge request KartKrew/Kart!379
This commit is contained in:
Sal 2021-02-13 08:40:15 -05:00
commit 4da5ed8999

View file

@ -1517,9 +1517,9 @@ void V_EncoreInvertScreen(void)
for (; buf < deststop; ++buf) for (; buf < deststop; ++buf)
{ {
*buf = NearestColor( *buf = NearestColor(
256 - pLocalPalette[*buf].s.red, 255 - pLocalPalette[*buf].s.red,
256 - pLocalPalette[*buf].s.green, 255 - pLocalPalette[*buf].s.green,
256 - pLocalPalette[*buf].s.blue 255 - pLocalPalette[*buf].s.blue
); );
} }
} }