askdf
This commit is contained in:
parent
6ede601c3c
commit
7eccafba51
@ -11,7 +11,7 @@ int paths(char* maze, int journey, int size){
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(journey >= 0 && journey < (size*size) && maze[journey]==' ' && maze[journey]!='*'){
|
if(journey >= 0 && journey <= (size*size) && maze[journey]==' ' && maze[journey]!='*'){
|
||||||
maze[journey] = '*';
|
maze[journey] = '*';
|
||||||
|
|
||||||
//Pohyb dole
|
//Pohyb dole
|
||||||
|
Loading…
Reference in New Issue
Block a user