From 8b66bc9f274b945af37f577b54587ba1a17f87b7 Mon Sep 17 00:00:00 2001 From: WPMGPRoSToTeMa Date: Thu, 16 Jul 2015 02:06:25 +0300 Subject: [PATCH] ReHLDS API version print by "version" command --- rehlds/engine/host_cmd.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rehlds/engine/host_cmd.cpp b/rehlds/engine/host_cmd.cpp index 877d1e2..c72d1b5 100644 --- a/rehlds/engine/host_cmd.cpp +++ b/rehlds/engine/host_cmd.cpp @@ -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