diff --git a/polymer/eduke32/build/src/build.c b/polymer/eduke32/build/src/build.c index e1ae09625..e4926a94c 100644 --- a/polymer/eduke32/build/src/build.c +++ b/polymer/eduke32/build/src/build.c @@ -3368,7 +3368,7 @@ void overheadeditor(void) setup_sideview_sincos(); - if (graphicsmode && !m32_sideview) + if (graphicsmode && (!m32_sideview || m32_sideelev == 512)) { Bmemset(show2dsector, 0, sizeof(show2dsector)); for (i=0; i= 0) { diff --git a/polymer/eduke32/build/src/engine.c b/polymer/eduke32/build/src/engine.c index 6946f1c53..acb311704 100644 --- a/polymer/eduke32/build/src/engine.c +++ b/polymer/eduke32/build/src/engine.c @@ -17454,14 +17454,13 @@ void draw2dscreen(const vec3_t *pos, int16_t cursectnum, int16_t ange, int32_t z m32_wallsprite[m32_swcnt++] = j; sideview_getdist(j, i); } - /* - // j = sector[numsectors-1].wallptr + sector[numsectors-1].wallnum - for (; j= 0) // fillsector(cursectornum, 31); - if (graphicsmode && !m32_sideview && zoom >= 256) + if (graphicsmode && (!m32_sideview || m32_sideelev == 512) && zoom >= 256) { for (i=ii=0; i xdim-6 || yp1 < 4 || yp1 > ydim16-6) continue;