Fixed small error

This commit is contained in:
Twilight Suzuka 2006-04-26 05:18:26 +00:00
parent 2a74d2229f
commit e96eaa6174

View File

@ -31,7 +31,7 @@ static cell AMX_NATIVE_CALL get_user_level(AMX *amx,cell *params)
static cell AMX_NATIVE_CALL set_user_level(AMX *amx,cell *params)
{
if(GetUserLevel(params[0]) > params[2])
if(GetUserLevel(params[1]) > params[2])
{
MF_LogError(amx,AMX_ERR_NATIVE,"Must set to a level higher than current one!");
return 0;