refresh
This commit is contained in:
parent
44fa14ab8a
commit
c4b92debdf
@ -45,7 +45,7 @@ struct snake* remove_snake(struct snake* snake) {
|
||||
int is_snake(struct snake* snake, int x, int y) {
|
||||
struct snake* current = snake;
|
||||
|
||||
while () {
|
||||
while (current !=NULL) {
|
||||
if ((current->x==x) && (current->y==y)) {
|
||||
return 1;
|
||||
}
|
||||
|
BIN
du5/snake.o
BIN
du5/snake.o
Binary file not shown.
Loading…
Reference in New Issue
Block a user