From 40cd1c797c8f205ad489a47fa5f7e840e3e1dda5 Mon Sep 17 00:00:00 2001 From: Eidolon Date: Tue, 3 May 2022 18:41:50 -0500 Subject: [PATCH] Restore missing chat msg timers --- src/hu_stuff.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/hu_stuff.c b/src/hu_stuff.c index 6b7f5cd3..269b0aa7 100644 --- a/src/hu_stuff.c +++ b/src/hu_stuff.c @@ -1090,6 +1090,27 @@ void HU_Ticker(void) chat_scrolltime--; } + if (netgame) // would handle that in hu_drawminichat, but it's actually kinda awkward when you're typing a lot of messages. (only handle that in netgames duh) + { + size_t i = 0; + + // handle spam while we're at it: + for(; (i 0) + stop_spamming[i]--; + } + + // handle chat timers + for (i=0; (i 0) + chat_timers[i]--; + else + HU_removeChatText_Mini(); + } + } + if (cechotimer > 0) --cechotimer; HU_TickSongCredits();