- reject all 0-special lines for activation.

This is to ensure consistency between all callers of this function.
This commit is contained in:
Christoph Oelckers 2020-06-02 21:38:55 +02:00
parent c48fa818ff
commit 1881cb45d2

View file

@ -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;
}