fixed treasure rendering in euc_in_sph and euc_vertical

This commit is contained in:
Zeno Rogue 2023-01-07 21:49:04 +01:00
parent 14d6e33768
commit 88ca5c920f
1 changed files with 2 additions and 1 deletions

View File

@ -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) {