1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 09:00:34 +00:00

fix_distances: do not fix while fixing uni

This commit is contained in:
Zeno Rogue 2021-08-25 12:57:33 +02:00
parent 0e3acfe91b
commit 9df74125bd

View File

@ -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");