diff --git a/urogue/things.c b/urogue/things.c index a3e781a..dad1af0 100644 --- a/urogue/things.c +++ b/urogue/things.c @@ -292,6 +292,8 @@ rem_obj(struct linked_list *item, int dis) if (op->next_obj) objptr->next_obj->l_prev = NULL; + objptr->next_obj = NULL; + y = op->o_pos.y; x = op->o_pos.x;