From 9cd9f68ef085c61e6bb7ea36d6b88a7467772b27 Mon Sep 17 00:00:00 2001 From: FreakyMutantMan Date: Sun, 15 Dec 2024 14:06:27 -0800 Subject: [PATCH] Remove cup select emerald flashing if reducevfx is enabled. (Changing setting requires menu reload to take effect.) --- src/k_menudraw.c | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/src/k_menudraw.c b/src/k_menudraw.c index ac09774a4..9dce49251 100644 --- a/src/k_menudraw.c +++ b/src/k_menudraw.c @@ -3257,14 +3257,28 @@ void M_DrawCupSelect(void) if (windata) { - M_DrawCupWinData( - x, - y, - templevelsearch.cup, - cv_dummygpdifficulty.value, - (cupgrid.previewanim & 1), - false - ); + if (cv_reducevfx.value) + { + M_DrawCupWinData( + x, + y, + templevelsearch.cup, + cv_dummygpdifficulty.value, + false, + false + ); + } + else + { + M_DrawCupWinData( + x, + y, + templevelsearch.cup, + cv_dummygpdifficulty.value, + (cupgrid.previewanim & 1), + false + ); + } } } }