engine: convert Cbuf_AddText with va to Cbuf_AddTextf

This commit is contained in:
Alibek Omarov
2023-03-13 05:31:27 +03:00
parent b12b2aaf79
commit d667845777
10 changed files with 13 additions and 13 deletions

View File

@@ -1739,7 +1739,7 @@ static qboolean SaveGameSlot( const char *pSaveName, const char *pSaveComment )
}
// pending the preview image for savegame
Cbuf_AddText( va( "saveshot \"%s\"\n", pSaveName ));
Cbuf_AddTextf( "saveshot \"%s\"\n", pSaveName );
Con_Printf( "Saving game to %s...\n", name );
version = SAVEGAME_VERSION;