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

fixed ggmatrix

This commit is contained in:
Zeno Rogue 2019-11-14 21:15:18 +01:00
parent ac8eebf179
commit 4dcac4bb3a

View File

@ -162,10 +162,10 @@ EX transmatrix &ggmatrix(cell *c) {
t = calc_relative_matrix(c, centerover, C0);
else if(masterless && WDIM == 2) {
if(!centerover) centerover = cwt.at;
t = View * eumove(cell_to_vec(c) - cellwalker_to_vec(cellwalker(centerover)));
t = actual_view_transform * View * eumove(cell_to_vec(c) - cellwalker_to_vec(cellwalker(centerover)));
}
else
t = calc_relative_matrix(c, centerover, C0);
t = actual_view_transform * View * calc_relative_matrix(c, centerover, C0);
}
return t;
}