From 8557a0347e27586c05f86f7b891807a99fe76e46 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 17 Apr 2026 18:28:50 +0200 Subject: [PATCH] fixed a crash when displaying a compass in binary tiling --- bigstuff.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bigstuff.cpp b/bigstuff.cpp index 88dd299b..f058e50d 100644 --- a/bigstuff.cpp +++ b/bigstuff.cpp @@ -125,7 +125,8 @@ EX int compassDist(cell *c) { /** identify the compass target that compassDist is talking about */ EX const void *whichCompass(cell *c) { if(sphere || quotient) return nullptr; - if(eubinary || c->master->alt) return c->master->alt->alt; + if(eubinary) return nullptr; + if(c->master->alt) return c->master->alt->alt; if(isHaunted(c->land) || c->land == laGraveyard) return &linf[laHaunted]; return &NOCOMPASS; }