mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-12 02:10:34 +00:00
fixed keyboard movement in non-orientable geometries
This commit is contained in:
parent
6d7ff11ef5
commit
a95aa0a2fa
@ -66,7 +66,7 @@ movedir vectodir(const hyperpoint& P) {
|
||||
|
||||
for(int i=0; i<cwt.at->type; 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);
|
||||
|
Loading…
Reference in New Issue
Block a user