1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-17 18:54:48 +00:00

fixed the roof (hiding incorrectly) in hyp_in_solnih

This commit is contained in:
Zeno Rogue 2022-12-17 20:06:39 +01:00
parent d623593392
commit 534448967f

View File

@ -5074,6 +5074,7 @@ EX void make_actual_view() {
}
camera_level = asin_auto(tC0(view_inverse(actual_view_transform * View))[2]);
if(geom3::euc_in_nil()) camera_level = tC0(view_inverse(actual_view_transform * View))[1];
if(geom3::hyp_in_solnih()) camera_level = tC0(view_inverse(actual_view_transform * View))[0];
if(moved_center()) camera_level--;
camera_sign = cgi.FLOOR > cgi.WALL;
}