From 88ca5c920f7f3a84b3239f4623e2598779cca098 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 7 Jan 2023 21:49:04 +0100 Subject: [PATCH] fixed treasure rendering in euc_in_sph and euc_vertical --- graph.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/graph.cpp b/graph.cpp index ba64d758..651082d1 100644 --- a/graph.cpp +++ b/graph.cpp @@ -774,7 +774,8 @@ EX shiftmatrix face_the_player(const shiftmatrix V) { if(mproduct) return orthogonal_move(V, cos(ptick(750)) * cgi.plevel / 16); if(mhybrid) return V * zpush(cos(ptick(750)) * cgi.plevel / 16); transmatrix dummy; /* used only in prod anyways */ - if(geom3::euc_in_nil()) return V; + if(geom3::euc_vertical()) return V; + if(geom3::euc_in_sph()) return V; if(nonisotropic && !embedded_plane) return shiftless(spin_towards(unshift(V), dummy, C0, 2, 0)); #if CAP_VR if(vrhr::enabled) {