Fix using cecho instead of tcecho for 1 line

This commit is contained in:
Lat 2023-03-01 15:48:40 +01:00
parent 9f1e5d08c2
commit 64792f30a2

View file

@ -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);
}