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
|
boolean
|
||||||
faction_id_is_unused(int id)
|
faction_id_is_unused(int id)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
if(used_faction_ids==NULL)
|
if(used_faction_ids==NULL)
|
||||||
return(true);
|
return(true);
|
||||||
return (boolean)(bsearch(&id, used_faction_ids, no_used_faction_ids,
|
return (boolean)(bsearch(&id, used_faction_ids, no_used_faction_ids,
|
||||||
sizeof(int), _cmp_int) == NULL);
|
sizeof(int), _cmp_int) == NULL);
|
||||||
|
#else
|
||||||
|
return true;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
Loading…
Reference in New Issue