From 76609e2a4ac52f6dc327cd662723a88340c9deda Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 14 Feb 2006 22:14:12 +0000 Subject: [PATCH] fixed bug with translator cvar not being registered by core --- amxmodx/meta_api.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/amxmodx/meta_api.cpp b/amxmodx/meta_api.cpp index 53b7cea1..89401fc2 100755 --- a/amxmodx/meta_api.cpp +++ b/amxmodx/meta_api.cpp @@ -124,6 +124,7 @@ cvar_t init_amxmodx_version = {"amxmodx_version", "", FCVAR_SERVER | FCVAR_SPONL cvar_t init_amxmodx_modules = {"amxmodx_modules", "", FCVAR_SPONLY}; cvar_t init_amxmodx_debug = {"amx_debug", "1", FCVAR_SPONLY}; cvar_t init_amxmodx_mldebug = {"amx_mldebug", "", FCVAR_SPONLY}; +cvar_t init_amxmodx_cl_langs = {"amx_client_languages", "", FCVAR_SERVER}; cvar_t* amxmodx_version = NULL; cvar_t* amxmodx_modules = NULL; cvar_t* hostname = NULL; @@ -1177,6 +1178,7 @@ C_DLLEXPORT int Meta_Attach(PLUG_LOADTIME now, META_FUNCTIONS *pFunctionTable, m CVAR_REGISTER(&init_amxmodx_modules); CVAR_REGISTER(&init_amxmodx_debug); CVAR_REGISTER(&init_amxmodx_mldebug); + CVAR_REGISTER(&init_amxmodx_cl_langs); amxmodx_version = CVAR_GET_POINTER(init_amxmodx_version.name);