for (; t; t = t->next, i_things++);
int16_t * whitelist = try_malloc(i_things * sizeof(int16_t), __func__);
for (i_things = 0, t = world.things; t;
for (; t; t = t->next, i_things++);
int16_t * whitelist = try_malloc(i_things * sizeof(int16_t), __func__);
for (i_things = 0, t = world.things; t;
if (thing_in_whitelist(thing->id, whitelist))
{
if (0 < thing->lifepoints)
if (thing_in_whitelist(thing->id, whitelist))
{
if (0 < thing->lifepoints)