diff --git a/du4 /snake.c b/du4 /snake.c index 11e870e..21fe8a1 100644 --- a/du4 /snake.c +++ b/du4 /snake.c @@ -35,7 +35,7 @@ void free_snake(struct snake* sn) int is_snake(struct snake* snake,int x,int y){ //helper pointer/smernikova premena - struct snake currentPtr* = snake; + struct snake* currentPtr = snake; while (currentPtr != NULL) {