core/sm_stringutil.cpp
changeset 1105 ce907ba50921
parent 919 316f419f62da
child 1231 17badaf66ce4
     1.1 --- a/core/sm_stringutil.cpp	Sat Jul 14 00:47:30 2007 +0000
     1.2 +++ b/core/sm_stringutil.cpp	Sat Jul 14 01:04:15 2007 +0000
     1.3 @@ -81,7 +81,7 @@
     1.4  	{
     1.5  		langid = g_Translator.GetServerLanguage();
     1.6   	} else if ((target >= 1) && (target <= g_Players.GetMaxClients())) {
     1.7 -		langid = g_Translator.GetServerLanguage();
     1.8 +		langid = g_Translator.GetClientLanguage(target);
     1.9  	} else {
    1.10  		pCtx->ThrowNativeErrorEx(SP_ERROR_PARAM, "Translation failed: invalid client index %d", target);
    1.11  		goto error_out;