- 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 22:18:02 +02:00 committed by drfrag
parent d8db13a539
commit b43d87c4cd

View file

@ -274,7 +274,7 @@ bool P_TestActivateLine (line_t *line, AActor *mo, int side, int activationType,
{ {
int lineActivation = line->activation; int lineActivation = line->activation;
if (line->flags & ML_FIRSTSIDEONLY && side == 1) if ((line->flags & ML_FIRSTSIDEONLY && side == 1) || line->special == 0)
{ {
return false; return false;
} }