Print the operating system version on client/server launch

This commit is contained in:
Robert Müller 2022-10-03 13:01:27 +02:00
parent 1697231916
commit 3c5a9f7672

View file

@ -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();