asi?
This commit is contained in:
parent
2be5b533c3
commit
28b8f47f0b
@ -45,7 +45,7 @@ void free_snake(struct snake* sn){
|
||||
sn = sn -> next;//posuniem sa o clanok
|
||||
free(clanok);//vycistim staru ulozenu poziciu
|
||||
} while (sn -> next != NULL);
|
||||
|
||||
free(clanok -> next);
|
||||
}
|
||||
|
||||
int is_snake(struct snake* snake,int x,int y){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user