1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

fixup mouse control

This commit is contained in:
Zeno Rogue 2019-11-22 16:37:21 +01:00
parent 3078451283
commit 4fb6563f27

View File

@ -144,7 +144,7 @@ EX void calcMousedest() {
transmatrix U = ggmatrix(cwt.at); transmatrix U = ggmatrix(cwt.at);
for(int i=0; i<cwt.at->type; i++) { for(int i=0; i<cwt.at->type; i++) {
transmatrix T = currentmap->adj(cwt.at, (cwt+i).spin); transmatrix T = currentmap->adj(cwt.at, i);
dists[i] = intval(mouseh, U * T * C0); dists[i] = intval(mouseh, U * T * C0);
} }