mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 22:12:59 +00:00 
			
		
		
		
	fix_distances: do not fix while fixing uni
This commit is contained in:
		| @@ -485,6 +485,7 @@ queue<tcell*> bfs_queue; | |||||||
|  |  | ||||||
| EX void fix_distances(tcell *c) { | EX void fix_distances(tcell *c) { | ||||||
|   if(flags & w_bfs) while(true) { |   if(flags & w_bfs) while(true) { | ||||||
|  |     if(in_fixing) return; | ||||||
|     ufindc(c); |     ufindc(c); | ||||||
|     if(c->dist != MYSTERY) return; |     if(c->dist != MYSTERY) return; | ||||||
|     if(tcellcount >= max_tcellcount) throw rulegen_surrender("max_tcellcount exceeded"); |     if(tcellcount >= max_tcellcount) throw rulegen_surrender("max_tcellcount exceeded"); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue