diff --git a/src/am_map.cpp b/src/am_map.cpp index 63d328c647..fd3f4373fc 100644 --- a/src/am_map.cpp +++ b/src/am_map.cpp @@ -2353,7 +2353,7 @@ void AM_Drawer () } AM_activateNewScale(); - if (am_textured && hasglnodes && textured) + if (am_textured && hasglnodes && textured && !viewactive) AM_drawSubsectors(); if (grid) diff --git a/src/p_glnodes.cpp b/src/p_glnodes.cpp index 426552c37d..f08ef55ed6 100644 --- a/src/p_glnodes.cpp +++ b/src/p_glnodes.cpp @@ -1387,6 +1387,8 @@ void P_SetRenderSector() TArray undetermined; subsector_t * ss; +#if 0 // doesn't work as expected :( + // hide all sectors on textured automap that only have hidden lines. bool *hidesec = new bool[numsectors]; for(i = 0; i < numsectors; i++) @@ -1409,6 +1411,7 @@ void P_SetRenderSector() if (hidesec[i]) sectors[i].MoreFlags |= SECF_HIDDEN; } delete [] hidesec; +#endif // Check for incorrect partner seg info so that the following code does not crash. for(i=0;i