2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-12-27 03:05:38 +01:00

win_con: fix version in title, change title for dedicated server

This commit is contained in:
a1batross 2018-10-24 20:55:00 +03:00
parent c603abfebf
commit 68ed732928

View File

@ -290,7 +290,7 @@ void Wcon_CreateConsole( void )
rect.top = 0; rect.top = 0;
rect.bottom = 364; rect.bottom = 364;
Q_strncpy( FontName, "Fixedsys", sizeof( FontName )); Q_strncpy( FontName, "Fixedsys", sizeof( FontName ));
Q_strncpy( s_wcd.title, va( "Xash3D %g", XASH_VERSION ), sizeof( s_wcd.title )); Q_strncpy( s_wcd.title, va( "Xash3D %s", XASH_VERSION ), sizeof( s_wcd.title ));
Q_strncpy( s_wcd.log_path, "engine.log", sizeof( s_wcd.log_path )); Q_strncpy( s_wcd.log_path, "engine.log", sizeof( s_wcd.log_path ));
fontsize = 8; fontsize = 8;
} }
@ -301,7 +301,7 @@ void Wcon_CreateConsole( void )
rect.top = 0; rect.top = 0;
rect.bottom = 392; rect.bottom = 392;
Q_strncpy( FontName, "System", sizeof( FontName )); Q_strncpy( FontName, "System", sizeof( FontName ));
Q_strncpy( s_wcd.title, "Xash Dedicated Server", sizeof( s_wcd.title )); Q_strncpy( s_wcd.title, va( "XashDS %s", XASH_VERSION ), sizeof( s_wcd.title ));
Q_strncpy( s_wcd.log_path, "dedicated.log", sizeof( s_wcd.log_path )); Q_strncpy( s_wcd.log_path, "dedicated.log", sizeof( s_wcd.log_path ));
s_wcd.log_active = true; // always make log s_wcd.log_active = true; // always make log
fontsize = 14; fontsize = 14;