mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Print the operating system version on client/server launch
This commit is contained in:
parent
1697231916
commit
3c5a9f7672
|
@ -72,6 +72,12 @@ public:
|
|||
dbg_msg("engine", "unknown endian");
|
||||
#endif
|
||||
|
||||
char aVersionStr[128];
|
||||
if(!os_version_str(aVersionStr, sizeof(aVersionStr)))
|
||||
{
|
||||
dbg_msg("engine", "operation system version: %s", aVersionStr);
|
||||
}
|
||||
|
||||
// init the network
|
||||
net_init();
|
||||
CNetBase::Init();
|
||||
|
|
Loading…
Reference in a new issue