Print the version when opening the logfile

This commit is contained in:
smallmodel 2025-01-09 21:42:12 +01:00 committed by GitHub
parent 5e04124211
commit 63c2b3642c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -265,6 +265,7 @@ void QDECL Com_Printf( const char *fmt, ... ) {
if(logfile)
{
Com_Printf( "logfile opened on %s\n", asctime( newtime ) );
Com_Printf( "=> game is version %s\n", com_version->string );
if ( com_logfile->integer > 1 )
{