From 76afa4027080763e83634789d26cb47c021a7ff5 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 23 Mar 2006 15:01:15 +0000 Subject: [PATCH] fixed bug --- dlls/fakemeta/fm_tr2.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/fakemeta/fm_tr2.cpp b/dlls/fakemeta/fm_tr2.cpp index 02ad89e8..3bb08540 100644 --- a/dlls/fakemeta/fm_tr2.cpp +++ b/dlls/fakemeta/fm_tr2.cpp @@ -272,21 +272,21 @@ static cell AMX_NATIVE_CALL set_kvd(AMX *amx, cell *params) } case KV_ClassName: { - kvdw->cls.assign(MF_GetAmxString(amx, params[1], 0, &len)); + kvdw->cls.assign(MF_GetAmxString(amx, params[3], 0, &len)); kvd->szClassName = const_cast(kvdw->cls.c_str()); return 1; break; } case KV_KeyName: { - kvdw->key.assign(MF_GetAmxString(amx, params[1], 0, &len)); + kvdw->key.assign(MF_GetAmxString(amx, params[3], 0, &len)); kvd->szKeyName = const_cast(kvdw->key.c_str()); return 1; break; } case KV_Value: { - kvdw->val.assign(MF_GetAmxString(amx, params[1], 0, &len)); + kvdw->val.assign(MF_GetAmxString(amx, params[3], 0, &len)); kvd->szValue = const_cast(kvdw->val.c_str()); return 1; break;