forked from github/server
used_faction_ids zeitweilig disabled
This commit is contained in:
parent
4a680ab026
commit
d9a2fc8dc5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue