skuska
This commit is contained in:
parent
f8ad054518
commit
af6540d032
@ -18,8 +18,11 @@ struct snake* remove_snake(struct snake* snake){
|
||||
}
|
||||
|
||||
struct snake* nova_hlavicka = snake->next;
|
||||
|
||||
free(snake);
|
||||
|
||||
assert(nova_hlavicka == NULL || nova_hlavicka->next == NULL);
|
||||
|
||||
return nova_hlavicka;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user