core/sm_srvcmds.cpp
changeset 4188 89782d5fc91b
parent 4116 3e58428d988f
child 4306 f8a08c7f0c92
     1.1 --- a/core/sm_srvcmds.cpp	Mon Dec 30 17:50:59 2013 -0500
     1.2 +++ b/core/sm_srvcmds.cpp	Mon Dec 30 17:51:00 2013 -0500
     1.3 @@ -30,15 +30,15 @@
     1.4   */
     1.5  
     1.6  #include "sm_srvcmds.h"
     1.7 -#include <sourcemod_version.h>
     1.8  #include "sm_stringutil.h"
     1.9  #include "CoreConfig.h"
    1.10  #include "ConVarManager.h"
    1.11  #include "logic_bridge.h"
    1.12 +#include <sourcemod_version.h>
    1.13  
    1.14  RootConsoleMenu g_RootMenu;
    1.15  
    1.16 -ConVar sourcemod_version("sourcemod_version", SM_VERSION_STRING, FCVAR_SPONLY|FCVAR_REPLICATED|FCVAR_NOTIFY, "SourceMod Version");
    1.17 +ConVar sourcemod_version("sourcemod_version", SOURCEMOD_VERSION, FCVAR_SPONLY|FCVAR_REPLICATED|FCVAR_NOTIFY, "SourceMod Version");
    1.18  
    1.19  RootConsoleMenu::RootConsoleMenu()
    1.20  {
    1.21 @@ -333,14 +333,14 @@
    1.22  	else if (strcmp(cmdname, "version") == 0)
    1.23  	{
    1.24  		ConsolePrint(" SourceMod Version Information:");
    1.25 -		ConsolePrint("    SourceMod Version: %s", SM_VERSION_STRING);
    1.26 +		ConsolePrint("    SourceMod Version: %s", SOURCEMOD_VERSION);
    1.27  		if (g_pSourcePawn2->IsJitEnabled())
    1.28  			ConsolePrint("    SourcePawn Engine: %s (build %s)", g_pSourcePawn2->GetEngineName(), g_pSourcePawn2->GetVersionString());
    1.29  		else
    1.30  			ConsolePrint("    SourcePawn Engine: %s (build %s NO JIT)", g_pSourcePawn2->GetEngineName(), g_pSourcePawn2->GetVersionString());
    1.31  		ConsolePrint("    SourcePawn API: v1 = %d, v2 = %d", g_pSourcePawn->GetEngineAPIVersion(), g_pSourcePawn2->GetAPIVersion());
    1.32  		ConsolePrint("    Compiled on: %s %s", __DATE__, __TIME__);
    1.33 -		ConsolePrint("    Build ID: %s", SM_BUILD_UNIQUEID);
    1.34 +		ConsolePrint("    Build ID: %s", SOURCEMOD_BUILD_ID);
    1.35  		ConsolePrint("    http://www.sourcemod.net/");
    1.36  	}
    1.37  }