From 64792f30a2087a63077ac097185e82a903c5dbb9 Mon Sep 17 00:00:00 2001 From: Lat Date: Wed, 1 Mar 2023 15:48:40 +0100 Subject: [PATCH] Fix using cecho instead of tcecho for 1 line --- src/hu_stuff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hu_stuff.c b/src/hu_stuff.c index a68f4857b..83d77cb44 100644 --- a/src/hu_stuff.c +++ b/src/hu_stuff.c @@ -2688,7 +2688,7 @@ void HU_DoTitlecardCEcho(const char *msg) strncpy(tcechotext, msg, sizeof(tcechotext)); strncat(tcechotext, "\\", sizeof(tcechotext) - strlen(tcechotext) - 1); - cechotext[sizeof(tcechotext) - 1] = '\0'; + tcechotext[sizeof(tcechotext) - 1] = '\0'; tcechotimer = 1; tcechoduration = TICRATE*6 + strlen(tcechotext); } \ No newline at end of file