diff --git a/source/build/src/polymost.cpp b/source/build/src/polymost.cpp index 1f5860ca9..ee05718dc 100644 --- a/source/build/src/polymost.cpp +++ b/source/build/src/polymost.cpp @@ -5827,8 +5827,14 @@ void polymost_drawmaskwall(int32_t damaskwallcnt) if (!waloff[globalpicnum]) { // restore this to normal - glDisable(GL_BLEND); - glEnable(GL_ALPHA_TEST); + if (polymost_maskWallHasTranslucency(wal)) + { + glEnable(GL_ALPHA_TEST); + } else + { + glDisable(GL_BLEND); + glEnable(GL_ALPHA_TEST); + } } }