- 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

View file

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