2
0
mirror of https://github.com/rehlds/rehlds.git synced 2024-12-28 15:45:46 +03:00

Merge pull request #59 from WPMGPRoSToTeMa/versionprinting

ReHLDS API version print by "version" command
This commit is contained in:
dreamstalker 2015-07-16 10:26:21 +04:00
commit 7d7d5a7fea

View File

@ -2426,6 +2426,7 @@ void Host_Changelevel2_f(void)
void Host_Version_f(void)
{
Con_Printf("Protocol version %i\nExe version %s (%s)\n", PROTOCOL_VERSION, gpszVersionString, gpszProductString);
Con_Printf("ReHLDS API version %i.%i\n", REHLDS_API_VERSION_MAJOR, REHLDS_API_VERSION_MINOR);
#ifdef REHLDS_FIXES
Con_Printf("Exe build: " __TIME__ " " __DATE__ " (%i)\n", build_number());
#else // REHLDS_FIXES