From ae87cdc8d90e92a449ed3033505040fa2a8b621c Mon Sep 17 00:00:00 2001 From: alufolie91 Date: Mon, 16 Oct 2023 02:08:18 +0200 Subject: [PATCH] Show "OVERTIME" in karttimer when overtime occurs in battle MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit instead of it just showing "00´00´00" --- src/k_kart.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/k_kart.c b/src/k_kart.c index 5a87c5826..0cd4e72f3 100644 --- a/src/k_kart.c +++ b/src/k_kart.c @@ -7852,6 +7852,12 @@ void K_drawKartTimestamp(tic_t drawtime, INT32 TX, INT32 TY, INT16 emblemmap, UI V_DrawKartString(TX, TY+3, splitflags, va("--'--\"--")); else if (worktime < 100) // 99:99:99 only { + if ((cv_timelimit.value && G_BattleGametype()) && (!players[consoleplayer].exiting && (leveltime > (timelimitintics + starttime + TICRATE/2)) && cv_overtime.value)) // i hate this so much + { + V_DrawKartString(TX, TY+3, splitflags, va("OVERTIME")); + return; + } + // zero minute if (worktime < 10) {