From a95aa0a2fa23099f5d8cbadd72fbf9a1027bcfb7 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 10 Sep 2018 18:46:09 +0200 Subject: [PATCH] fixed keyboard movement in non-orientable geometries --- control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control.cpp b/control.cpp index ebddf3a7..fc422291 100644 --- a/control.cpp +++ b/control.cpp @@ -66,7 +66,7 @@ movedir vectodir(const hyperpoint& P) { for(int i=0; itype; i++) { transmatrix T; - if(compute_relamatrix(cwt.at->modmove(cwt.spin + i), cwt.at, i, T)) { + if(compute_relamatrix((cwt+i).peek(), cwt.at, i, T)) { dirdist[i] = intval(U * T * C0, Centered * P); } //xspinpush0(-i * 2 * M_PI /cwt.at->type, .5), P);