From 6d24a20f5c72fea35d4645d1c476cdb617a5bf5a Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 31 Jul 2020 21:14:43 +0200 Subject: [PATCH] - QUOTE_DEAD may never repeat. This gets spammed hard enough to get past the timer filter. --- source/games/duke/src/game_misc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/duke/src/game_misc.cpp b/source/games/duke/src/game_misc.cpp index a8d54b0be..8b3b96725 100644 --- a/source/games/duke/src/game_misc.cpp +++ b/source/games/duke/src/game_misc.cpp @@ -147,7 +147,7 @@ void FTA(int q, struct player_struct* p) if (hud_messages == 0 || q < 0 || !(p->gm & MODE_GAME)) return; - if (p->ftq != q || totalclock - p->ftt > TICRATE) + if (p->ftq != q || (totalclock - p->ftt > TICRATE && q != QUOTE_DEAD)) { p->ftq = q; p->ftt = totalclock;