Centerprint when screenshotting

This commit is contained in:
smallmodel 2023-07-30 11:40:33 +02:00
parent 3fe7cbf725
commit 078223c1b6
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -749,7 +749,10 @@ void R_ScreenShot_f (void) {
R_TakeScreenshot(0, 0, glConfig.vidWidth, glConfig.vidHeight, checkname, qfalse);
if (!silent) {
ri.Printf (PRINT_ALL, "Wrote %s\n", checkname);
char message[64];
Com_sprintf(message, sizeof(message), "centerprint \"%s %s\"\n", ri.LV_ConvertString("Wrote"), checkname);
ri.Cmd_ExecuteText(EXEC_NOW, message);
}
}