From 48bb684e9ce702b7696b602987c3609340dfdfea Mon Sep 17 00:00:00 2001 From: a1batross Date: Sun, 20 Mar 2016 02:40:03 +0300 Subject: [PATCH] Check for mobility --- cl_dll/cdll_int.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cl_dll/cdll_int.cpp b/cl_dll/cdll_int.cpp index 2222442..2d6b812 100644 --- a/cl_dll/cdll_int.cpp +++ b/cl_dll/cdll_int.cpp @@ -42,7 +42,8 @@ cl_enginefunc_t gEngfuncs; render_api_t gRenderAPI; mobile_engfuncs_t gMobileAPI; CHud gHUD; -int g_iXash; // indicates a buildnum +int g_iXash = 0; // indicates a buildnum +int g_iMobileAPIVersion = 0; void InitInput (void); void EV_HookEvents( void ); @@ -350,6 +351,7 @@ int DLLEXPORT HUD_MobilityInterface( mobile_engfuncs_t *mobileapi ) return 1; } + g_iMobileAPIVersion = MOBILITY_API_VERSION; gMobileAPI = *mobileapi; return 0;