fixed yb_version display
This commit is contained in:
parent
ab53d11760
commit
cdcf59c76b
2 changed files with 3 additions and 2 deletions
|
|
@ -21,7 +21,8 @@
|
||||||
#define PRODUCT_LEGAL "Half-Life, Counter-Strike, Counter-Strike: Condition Zero, Steam, Valve is a trademark of Valve Corporation"
|
#define PRODUCT_LEGAL "Half-Life, Counter-Strike, Counter-Strike: Condition Zero, Steam, Valve is a trademark of Valve Corporation"
|
||||||
#define PRODUCT_ORIGINAL_NAME "yapb.dll"
|
#define PRODUCT_ORIGINAL_NAME "yapb.dll"
|
||||||
#define PRODUCT_INTERNAL_NAME "skybot"
|
#define PRODUCT_INTERNAL_NAME "skybot"
|
||||||
#define PRODUCT_VERSION_DWORD 2,7,0,0
|
#define PRODUCT_VERSION_DWORD_INTERNAL 2,7,1
|
||||||
|
#define PRODUCT_VERSION_DWORD PRODUCT_VERSION_DWORD_INTERNAL,0
|
||||||
#define PRODUCT_SUPPORT_VERSION "1.0 - CZ"
|
#define PRODUCT_SUPPORT_VERSION "1.0 - CZ"
|
||||||
#define PRODUCT_COMMENTS "http://github.com/jeefo/yapb/"
|
#define PRODUCT_COMMENTS "http://github.com/jeefo/yapb/"
|
||||||
#define PRODUCT_DATE __DATE__
|
#define PRODUCT_DATE __DATE__
|
||||||
|
|
|
||||||
|
|
@ -912,7 +912,7 @@ void GameDLLInit (void)
|
||||||
ServerCommand ("exec addons/yapb/conf/yapb.cfg");
|
ServerCommand ("exec addons/yapb/conf/yapb.cfg");
|
||||||
|
|
||||||
// set correct version string
|
// set correct version string
|
||||||
yb_version.SetString (FormatBuffer ("%s.0.%u", yb_version.GetString (), GenerateBuildNumber ()));
|
yb_version.SetString (FormatBuffer ("%d.%d.%d.%u", PRODUCT_VERSION_DWORD_INTERNAL, GenerateBuildNumber ()));
|
||||||
|
|
||||||
// register fake metamod command handler if we not! under mm
|
// register fake metamod command handler if we not! under mm
|
||||||
if (!g_isMetamod)
|
if (!g_isMetamod)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue