From 8199437e0ded17eebc27239d66db22b8f47e61c3 Mon Sep 17 00:00:00 2001 From: toaster Date: Fri, 23 Jun 2023 13:39:08 +0100 Subject: [PATCH] Coming back to the branch, closing menu messages felt annoyingly unresponsive. Let's disable the flashing animation for now and just retain the slideaway. --- src/menus/transient/message-box.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/menus/transient/message-box.c b/src/menus/transient/message-box.c index 1e5de84b9..50ef95fb7 100644 --- a/src/menus/transient/message-box.c +++ b/src/menus/transient/message-box.c @@ -148,11 +148,16 @@ void M_StopMessage(INT32 choice) // Set the answer. menumessage.answer = choice; +#if 1 + // The below was cool, but it felt annoyingly unresponsive. + menumessage.closing = MENUMESSAGECLOSE+1; +#else // Intended length of time. menumessage.closing = (TICRATE/2); // This weird operation is necessary so the text flash is consistently timed. menumessage.closing |= ((2*MENUMESSAGECLOSE) - 1); +#endif M_SetMenuDelay(pid); }