mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 15:22:15 +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;
|
||||
}
|
||||
if (SeePastShootableLines &&
|
||||
(!(ld->activation & SPAC_Impact) ||
|
||||
(ld->special != ACS_Execute && ld->special != ACS_ExecuteAlways) ||
|
||||
(ld->args[1] != 0 && ld->args[1] != level.levelnum)))
|
||||
(!(ld->activation & SPAC_Impact) ||
|
||||
(ld->special != ACS_Execute && ld->special != ACS_ExecuteAlways)) ||
|
||||
(ld->args[1] != 0 && ld->args[1] != level.levelnum))
|
||||
{
|
||||
// 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
|
||||
|
|
Loading…
Reference in a new issue