- reordered parentheses in check for being able to see through shootable lines.

SVN r1268 (trunk)
This commit is contained in:
Christoph Oelckers 2008-10-18 23:30:29 +00:00
parent fff3d9c228
commit 75fd6085a5
1 changed files with 3 additions and 3 deletions

View File

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