<= 15
This commit is contained in:
parent
19159e7cbc
commit
7dbf43f175
@ -12,7 +12,7 @@ int paths(char* maze, int journey, int size){
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(journey >= 0 && journey < (size*size) && maze[journey]==' '){
|
if(journey >= 0 && journey <= (size*size) && maze[journey]==' '){
|
||||||
|
|
||||||
maze[journey] = '*';
|
maze[journey] = '*';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user