From 1913eb481cb7a881b9e9ca00109fb3727e3c8074 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 11 Mar 2025 01:27:38 +0100 Subject: [PATCH] fixed a bug with check_orientation on closed/disksize --- rogueviz/seuphorica.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rogueviz/seuphorica.cpp b/rogueviz/seuphorica.cpp index 2cfaffec..5c223398 100644 --- a/rogueviz/seuphorica.cpp +++ b/rogueviz/seuphorica.cpp @@ -85,7 +85,8 @@ void check_orientation(cell *c) { if(board.count(c)) { tile_orientation_level[c] = 1000000; return; } int maxlev = 0, dir = 0; forCellIdCM(c1, i, c) { - if(!distance_from_board[c1]) continue; + if(!distance_from_board[c1] && !disksize && !closed_manifold) continue; + if(c1->land == laMemory) continue; if(tile_orientation_level[c1] > maxlev) maxlev = tile_orientation_level[c1], dir = i; }