From 496bd79f9b2b528f39fea8f0d6e14d71d4625db9 Mon Sep 17 00:00:00 2001 From: MascaraSnake Date: Sun, 9 Oct 2022 16:56:25 +0200 Subject: [PATCH] Cut inner walls of splat FOFs --- src/p_spec.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/p_spec.c b/src/p_spec.c index b9343b4de..dd0d7c6e9 100644 --- a/src/p_spec.c +++ b/src/p_spec.c @@ -6510,8 +6510,8 @@ void P_SpawnSpecials(boolean fromnetsave) //Cutting options if (ffloorflags & FOF_RENDERALL) { - //If translucent or player can enter it, cut inner walls - if ((lines[i].args[1] < 255) || (lines[i].args[4] & TMFT_VISIBLEFROMINSIDE)) + //If inside is visible, cut inner walls + if ((lines[i].args[1] < 255) || (lines[i].args[3] & TMFA_SPLAT) || (lines[i].args[4] & TMFT_VISIBLEFROMINSIDE)) ffloorflags |= FOF_CUTEXTRA|FOF_EXTRA; else ffloorflags |= FOF_CUTLEVEL; @@ -6569,8 +6569,8 @@ void P_SpawnSpecials(boolean fromnetsave) if (lines[i].args[4] & TMFC_SPLAT) ffloorflags |= FOF_SPLAT; - //If translucent or player can enter it, cut inner walls - if (lines[i].args[1] < 0xff || (lines[i].args[3] & TMFT_VISIBLEFROMINSIDE)) + //If inside is visible, cut inner walls + if (lines[i].args[1] < 0xff || (lines[i].args[3] & TMFT_VISIBLEFROMINSIDE) || (lines[i].args[4] & TMFC_SPLAT)) ffloorflags |= FOF_CUTEXTRA|FOF_EXTRA; else ffloorflags |= FOF_CUTLEVEL; @@ -6633,8 +6633,8 @@ void P_SpawnSpecials(boolean fromnetsave) //Cutting options if (ffloorflags & FOF_RENDERALL) { - //If translucent or player can enter it, cut inner walls - if ((lines[i].args[1] < 255) || (lines[i].args[4] & TMFT_VISIBLEFROMINSIDE)) + //If inside is visible, cut inner walls + if ((lines[i].args[1] < 255) || (lines[i].args[3] & TMFA_SPLAT) || (lines[i].args[4] & TMFT_VISIBLEFROMINSIDE)) ffloorflags |= FOF_CUTEXTRA|FOF_EXTRA; else ffloorflags |= FOF_CUTLEVEL;