used_faction_ids zeitweilig disabled

This commit is contained in:
Enno Rehling 2002-08-18 07:14:35 +00:00
parent 4a680ab026
commit d9a2fc8dc5
1 changed files with 4 additions and 0 deletions

View File

@ -2474,10 +2474,14 @@ register_faction_id(int id)
boolean
faction_id_is_unused(int id)
{
#if 0
if(used_faction_ids==NULL)
return(true);
return (boolean)(bsearch(&id, used_faction_ids, no_used_faction_ids,
sizeof(int), _cmp_int) == NULL);
#else
return true;
#endif
}
int