engine: use common strings to name the engine, makes branding easier for custom forks

This commit is contained in:
Alibek Omarov
2024-03-19 21:11:04 +03:00
parent 665c46b281
commit fe5944720b
3 changed files with 5 additions and 4 deletions

View File

@@ -136,8 +136,8 @@ void Sys_InitLog( void )
else mode = "w";
if( Host_IsDedicated( ))
Q_snprintf( s_ld.title, sizeof( s_ld.title ), "XashDS %s", XASH_VERSION );
else Q_snprintf( s_ld.title, sizeof( s_ld.title ), "Xash3D FWGS %s", XASH_VERSION );
Q_strncpy( s_ld.title, XASH_DEDICATED_SERVER_NAME " " XASH_VERSION, sizeof( s_ld.title ));
else Q_strncpy( s_ld.title, XASH_ENGINE_NAME " " XASH_VERSION, sizeof( s_ld.title ));
// create log if needed
if( s_ld.log_active )