mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-17 13:14:30 +00:00
made bfs in 3D always know nearby cells even if gmatrix not known
This commit is contained in:
1 parent
305d546ae1
commit
0b0ad4abe3
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -368,7 +368,7 @@ EX void bfs() {
|
||||
c2->wall = waSea;
|
||||
|
||||
if(c2 && signed(c2->cpdist) > d+1) {
|
||||
if(WDIM == 3 && !gmatrix.count(c2)) {
|
||||
if(WDIM == 3 && (d > 2 && !gmatrix.count(c2))) {
|
||||
if(!first7) first7 = qb;
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user