neexistujuci had
This commit is contained in:
parent
41ea365d44
commit
0a0c7f07e3
@ -16,6 +16,8 @@ struct snake* add_snake(struct snake* snake,int x,int y){
|
||||
|
||||
struct snake* remove_snake(struct snake* snake){
|
||||
|
||||
if (snake == NULL) return NULL; // valgrind chce na tento test reisenie
|
||||
|
||||
struct snake* clanok = snake;
|
||||
|
||||
if (snake -> next == NULL) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user