Clarifying the syntax
This commit is contained in:
		| @@ -203,8 +203,12 @@ void generate(route *rt) | ||||
| { | ||||
|     directions *dirs = init_directions(rt); | ||||
|  | ||||
|     for (int i=0; i < RANDINT(1, rt->width*rt->width) && evaluate_directions(dirs); i++) | ||||
|     for (int i=0; i < RANDINT(1, rt->width*rt->width); i++) | ||||
|     { | ||||
|         if (!evaluate_directions(dirs)) | ||||
|         { | ||||
|             break; | ||||
|         } | ||||
|         push_choose(rt, dirs); | ||||
|     } | ||||
| } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user