diff --git a/control.cpp b/control.cpp index d65050a4..ac5445ca 100644 --- a/control.cpp +++ b/control.cpp @@ -144,7 +144,7 @@ EX void calcMousedest() { transmatrix U = ggmatrix(cwt.at); for(int i=0; itype; i++) { - transmatrix T = currentmap->adj(cwt.at, (cwt+i).spin); + transmatrix T = currentmap->adj(cwt.at, i); dists[i] = intval(mouseh, U * T * C0); }