From 60e933eb001da251ef0d5afac2a76cf7d52323b8 Mon Sep 17 00:00:00 2001 From: Indev Date: Sun, 21 Jul 2024 17:03:15 +0300 Subject: [PATCH] Add director hud indicator --- src/st_stuff.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/st_stuff.c b/src/st_stuff.c index 681f2d920..715ba53ae 100644 --- a/src/st_stuff.c +++ b/src/st_stuff.c @@ -796,6 +796,15 @@ static void ST_overlayDrawer(void) // Countdown timer for Race Mode // ...moved to k_kart.c so we can take advantage of the LAPS_Y value + if (demo.playback || !P_IsLocalPlayer(stplyr)) + { + char directortext[20] = {0}; + + snprintf(directortext, 20, "Director: %s", cv_director.value ? "On" : "Off"); + + V_DrawString(1, BASEVIDHEIGHT-8-1, V_SNAPTOLEFT|V_SNAPTOBOTTOM|V_HUDTRANSHALF|V_ALLOWLOWERCASE, directortext); + } + if (cv_showviewpointtext.value) { if (!(multiplayer && demo.playback))