- 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
parent e846e5e50f
commit c801bb7f49
2 changed files with 7 additions and 1 deletions

View file

@ -1,4 +1,7 @@
September 26, 2009
- 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.
- idclev and hxvisit are no longer considered cheats, however, they are still
invalid for net games. hxvisit was erroneously accepted for net games
before, which it shouldn't have, since it's basically idclev for Hexen.

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) &&