domaca_uloha_7
This commit is contained in:
parent
bd05b81d3e
commit
22f3b73b8b
@ -25,7 +25,7 @@ struct snake* remove_snake(struct snake* snake){
|
|||||||
|
|
||||||
else {
|
else {
|
||||||
struct snake* medzipamat = calloc(1, sizeof(struct snake));
|
struct snake* medzipamat = calloc(1, sizeof(struct snake));
|
||||||
medzipamat = snake
|
medzipamat = snake;
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
snake = snake->next;
|
snake = snake->next;
|
||||||
|
Loading…
Reference in New Issue
Block a user