- Fixed all the new warnings tossed out by GCC 4.3.

SVN r1047 (trunk)
This commit is contained in:
Randy Heit 2008-06-25 22:16:04 +00:00
commit bb689ba3c9
16 changed files with 42 additions and 30 deletions

View file

@ -134,9 +134,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