mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-01-31 04:50:48 +00:00
- reordered parentheses in check for being able to see through shootable lines.
SVN r1268 (trunk)
This commit is contained in:
parent
fff3d9c228
commit
75fd6085a5
1 changed files with 3 additions and 3 deletions
|
@ -135,9 +135,9 @@ static bool P_SightCheckLine (line_t *ld)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (SeePastShootableLines &&
|
if (SeePastShootableLines &&
|
||||||
(!(ld->activation & SPAC_Impact) ||
|
(!(ld->activation & SPAC_Impact) ||
|
||||||
(ld->special != ACS_Execute && ld->special != ACS_ExecuteAlways) ||
|
(ld->special != ACS_Execute && ld->special != ACS_ExecuteAlways)) ||
|
||||||
(ld->args[1] != 0 && ld->args[1] != level.levelnum)))
|
(ld->args[1] != 0 && ld->args[1] != level.levelnum))
|
||||||
{
|
{
|
||||||
// Pretend the other side is invisible if this is not an impact line
|
// Pretend the other side is invisible if this is not an impact line
|
||||||
// or it does not run a script on the current map. Used to prevent
|
// or it does not run a script on the current map. Used to prevent
|
||||||
|
|
Loading…
Reference in a new issue