From fe4245dfc30bd76459ee76b787b1956c1a8b8eeb Mon Sep 17 00:00:00 2001 From: terminx Date: Sat, 13 Jul 2019 21:26:06 +0000 Subject: [PATCH] Voxel fix git-svn-id: https://svn.eduke32.com/eduke32@7791 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/build/src/voxmodel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/build/src/voxmodel.cpp b/source/build/src/voxmodel.cpp index 2c1c6dec8..2617ebb9e 100644 --- a/source/build/src/voxmodel.cpp +++ b/source/build/src/voxmodel.cpp @@ -1056,6 +1056,7 @@ int32_t polymost_voxdraw(voxmodel_t *m, tspriteptr_t const tspr) zoff += m->piv.z; zoff -= m->siz.z*.5f; } + if ((globalorientation&8) && (sprite[tspr->owner].cstat&48)!=0) zoff = m->siz.z-zoff; f = (65536.f*512.f) / ((float)xdimen*viewingrange); g = 32.f / ((float)xdimen*gxyaspect);