From e898f0ccf0404597ebc1cddbfe53da72be65d0fa Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 16 Nov 2019 01:40:27 +0100 Subject: [PATCH] crystal:: fixed Crystal344 --- crystal.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crystal.cpp b/crystal.cpp index d99a7de3..91cae418 100644 --- a/crystal.cpp +++ b/crystal.cpp @@ -555,7 +555,10 @@ struct hrmap_crystal : hrmap_standard { exit(1); } - transmatrix adj(cell *c, int d) override { return hrmap_standard::adj(c, d); } + transmatrix adj(cell *c, int d) override { + if(crystal3()) return adj(c->master, d); + return hrmap_standard::adj(c, d); + } void draw() override { if(!crystal3()) { hrmap_standard::draw(); return; }