1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-18 11:19:59 +00:00

replaced cview() with actual_view_transform * View in ggmatrix to prevent infinite loop

This commit is contained in:
Zeno Rogue 2019-05-15 14:19:39 +02:00
parent 8c2b717223
commit 927592caa3

View File

@ -171,7 +171,7 @@ transmatrix &ggmatrix(cell *c) {
t = View * eumove(cell_to_vec(c) - cellwalker_to_vec(centerover));
}
else
t = actualV(viewctr, cview()) * calc_relative_matrix(c, viewctr.at->c7, C0);
t = actualV(viewctr, actual_view_transform * View) * calc_relative_matrix(c, viewctr.at->c7, C0);
}
return t;
}