From f7f86fb040d25be4a02e4da3041bf1f254227e51 Mon Sep 17 00:00:00 2001 From: In-line Date: Wed, 28 Jun 2017 20:31:59 +0400 Subject: [PATCH] Rename suki to key_index (#445) --- amxmodx/amxmodx.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/amxmodx/amxmodx.cpp b/amxmodx/amxmodx.cpp index b913cef8..90391f9d 100755 --- a/amxmodx/amxmodx.cpp +++ b/amxmodx/amxmodx.cpp @@ -4440,11 +4440,11 @@ static cell AMX_NATIVE_CALL CreateLangKey(AMX *amx, cell *params) { int len; const char *key = get_amxstring(amx, params[1], 0, len); - int suki = g_langMngr.GetKeyEntry(key); + int key_index = g_langMngr.GetKeyEntry(key); - if (suki != -1) + if (key_index != -1) { - return suki; + return key_index; } return g_langMngr.AddKeyEntry(key); @@ -4454,14 +4454,14 @@ static cell AMX_NATIVE_CALL AddTranslation(AMX *amx, cell *params) { int len; const char *lang = get_amxstring(amx, params[1], 0, len); - int suki = params[2]; + int key_index = params[2]; const char *phrase = get_amxstring(amx, params[3], 1, len); ke::Vector queue; sKeyDef def; def.definition = new ke::AutoString(phrase); - def.key = suki; + def.key = key_index; queue.append(def);