mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
replaced cview() with actual_view_transform * View in ggmatrix to prevent infinite loop
This commit is contained in:
parent
8c2b717223
commit
927592caa3
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user