From 1881cb45d2cb46ebe1172427c5b18b193e47894e Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 2 Jun 2020 21:38:55 +0200 Subject: [PATCH] - reject all 0-special lines for activation. This is to ensure consistency between all callers of this function. --- src/playsim/p_spec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playsim/p_spec.cpp b/src/playsim/p_spec.cpp index 97b2cf82b..ee19cfb09 100644 --- a/src/playsim/p_spec.cpp +++ b/src/playsim/p_spec.cpp @@ -249,7 +249,7 @@ bool P_TestActivateLine (line_t *line, AActor *mo, int side, int activationType, auto Level = line->GetLevel(); int lineActivation = line->activation; - if (line->flags & ML_FIRSTSIDEONLY && side == 1) + if ((line->flags & ML_FIRSTSIDEONLY && side == 1) || line->special == 0) { return false; }