member_array.c.1
final_realms_fluffos_v1/lib/secure/simul_efun/member_array.c.1 · 285 B
From the archive final_realms_fluffos_v1.zip
Download the archive « Back to the archive contents
/* very temporary hack to get DW off its knees on 1/12/92 by [als] */
int member_array(mixed el_match, mixed *arr)
{
int i, bing;
bing = -1;
for (i = 0; i < sizeof(arr); i++) {
if (el_match == arr[i]) {
bing = i;
break;
}
}
return bing;
}