From 77f0e526bf6f4437af32d6e63028ff6d4b874464 Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Thu, 11 May 2006 03:34:13 +0000 Subject: [PATCH] Whoa. SetClientKeyValue fixed :\ --- dlls/fakemeta/engfunc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/fakemeta/engfunc.cpp b/dlls/fakemeta/engfunc.cpp index 28189234..7237d3ff 100755 --- a/dlls/fakemeta/engfunc.cpp +++ b/dlls/fakemeta/engfunc.cpp @@ -1025,8 +1025,8 @@ static cell AMX_NATIVE_CALL engfunc(AMX *amx, cell *params) cRet = MF_GetAmxAddr(amx, params[3]); temp = reinterpret_cast(cRet[0]); - temp2 = MF_GetAmxString(amx, params[3], 0, &len); - temp3 = MF_GetAmxString(amx, params[4], 1, &len); + temp2 = MF_GetAmxString(amx, params[4], 0, &len); + temp3 = MF_GetAmxString(amx, params[5], 1, &len); (*g_engfuncs.pfnSetClientKeyValue)(index, temp, temp2, temp3); return 1; case EngFunc_CreateInstancedBaseline: // int ) (int classname, struct entity_state_s *baseline);