struct Thing * t = world.things;
for (; t != NULL; t = t->next)
{
- if (t->pos.y == t_standing->pos.y && t->pos.x && t_standing->pos.x)
+ if ( t_standing != t
+ && t->pos.y == t_standing->pos.y && t->pos.x == t_standing->pos.x)
{
struct ThingType * tt = get_thing_type(t->type);
if (tt->consumable)