From ddc0fa538e54f7fbf4d52731d5cb0a3ad8b3d369 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 12 Oct 2019 13:12:47 +0200 Subject: [PATCH] fixed view_coordinates and compass in Crystal334 --- crystal.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crystal.cpp b/crystal.cpp index 3512cc31..8c22c61f 100644 --- a/crystal.cpp +++ b/crystal.cpp @@ -701,7 +701,7 @@ EX bool crystal_cell(cell *c, transmatrix V) { queuestr(V, 0.3, its(d), 0xFFFFFF, 1); } - if(view_coordinates && cheater) { + if(view_coordinates && cheater && WDIM == 2) { auto m = crystal_map(); @@ -1474,6 +1474,7 @@ EX string get_table_boundary() { EX void may_place_compass(cell *c) { if(c != c->master->c7) return; + if(WDIM == 3) return; auto m = crystal_map(); auto co = m->hcoords[c->master]; for(int i=0; ics.dim; i++)