Fixed bug at23454 (DeciusMagnus)

This commit is contained in:
David Anderson 2005-12-26 14:38:14 +00:00
parent 8aaa2d859f
commit d1b290c7a4

View File

@ -855,7 +855,7 @@ static cell AMX_NATIVE_CALL n_strcmp(AMX *amx, cell *params)
char *str1 = get_amxstring(amx, params[1], 0, len);
char *str2 = get_amxstring(amx, params[2], 1, len);
if (params[1])
if (params[3])
return stricmp(str1, str2);
else
return strcmp(str1, str2);