Fix incorrect translation language for %l format identifier

This commit is contained in:
Arkshine
2015-12-13 17:37:24 +01:00
parent 4cea082303
commit 6a18f8007d
3 changed files with 71 additions and 43 deletions

View File

@ -4456,7 +4456,7 @@ static cell AMX_NATIVE_CALL LookupLangKey(AMX *amx, cell *params)
{
int len;
char *key=get_amxstring(amx,params[3],0,len);
const char *def=translate(amx,params[4],key);
const char *def=translate(amx, playerlang(params[4]),key);
if (def==NULL)
{