fixup mouse control
This commit is contained in:
parent
3078451283
commit
4fb6563f27
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue