mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- reject all 0-special lines for activation.
This is to ensure consistency between all callers of this function.
This commit is contained in:
parent
c48fa818ff
commit
1881cb45d2
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ bool P_TestActivateLine (line_t *line, AActor *mo, int side, int activationType,
|
||||||
auto Level = line->GetLevel();
|
auto Level = line->GetLevel();
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue