- Added a check for SPAC_AnyCross to P_TestActivateLine() before the "monster"

activation checks. They are actually non-player checks and interfered with
  SPAC_AnyCross.


SVN r1882 (trunk)
This commit is contained in:
Randy Heit 2009-09-27 02:13:28 +00:00
commit c801bb7f49
2 changed files with 7 additions and 1 deletions

View file

@ -311,7 +311,10 @@ bool P_TestActivateLine (line_t *line, AActor *mo, int side, int activationType)
return false;
}
}
if (activationType == SPAC_AnyCross && (lineActivation & activationType))
{
return true;
}
if (mo && !mo->player &&
!(mo->flags & MF_MISSILE) &&
!(line->flags & ML_MONSTERSCANACTIVATE) &&