1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-09 18:23:00 +00:00

fixed some bugs with sphere embedded in product

This commit is contained in:
Zeno Rogue
2022-12-08 21:36:32 +01:00
parent 689f64ed98
commit d334062656
2 changed files with 2 additions and 2 deletions

View File

@@ -1902,7 +1902,7 @@ EX bool keep_vertical() {
EX hyperpoint vertical_vector() {
auto& ds = downseek;
if(msphere && !sphere && vid.fixed_yz) {
if(msphere && !sphere && !gproduct && vid.fixed_yz) {
hyperpoint h = get_view_orientation() * C0;
if(vid.wall_height > 0) h = -h;
return h;