Fix follower color on menu

(not that it even uses the real color, buuut...)
This commit is contained in:
Sally Coolatta 2022-05-23 02:57:46 -04:00
parent 6574f822a4
commit ab9d474e9b

View file

@ -9670,7 +9670,7 @@ static void M_DrawSetupMultiPlayerMenu(void)
const fixed_t pi = (22<<FRACBITS) / 7; // loose approximation, this doesn't need to be incredibly precise
fixed_t sine = FixedMul(fl.bobamp, FINESINE((((8 * pi * fl.bobspeed) * followertimer)>>ANGLETOFINESHIFT) & FINEMASK));
UINT8 *colormap = R_GetTranslationColormap(-1, setupm_fakecolor->color, 0);
UINT8 *colormap = R_GetTranslationColormap(TC_DEFAULT, setupm_fakecolor->color, GTC_MENUCACHE);
V_DrawFixedPatch((mx+65)*FRACUNIT, ((my+131)*FRACUNIT)-fl.zoffs+sine, fl.scale, flags, patch, colormap);
Z_Free(colormap);
}