mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 07:30:26 +00:00
fix_distances: do not fix while fixing uni
This commit is contained in:
parent
0e3acfe91b
commit
9df74125bd
@ -485,6 +485,7 @@ queue<tcell*> bfs_queue;
|
||||
|
||||
EX void fix_distances(tcell *c) {
|
||||
if(flags & w_bfs) while(true) {
|
||||
if(in_fixing) return;
|
||||
ufindc(c);
|
||||
if(c->dist != MYSTERY) return;
|
||||
if(tcellcount >= max_tcellcount) throw rulegen_surrender("max_tcellcount exceeded");
|
||||
|
Loading…
Reference in New Issue
Block a user