domaca_uloha_7
This commit is contained in:
parent
90b8a98abd
commit
1fb1da956b
@ -8,6 +8,8 @@ struct snake* add_snake(struct snake* snake,int x,int y){
|
||||
|
||||
if (snake != NULL) {
|
||||
snake->next = novyZaciatok;
|
||||
} else {
|
||||
snake->next = NULL;
|
||||
}
|
||||
|
||||
return novyZaciatok;
|
||||
|
Loading…
Reference in New Issue
Block a user