mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 06:42:08 +00:00
- 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:
parent
e846e5e50f
commit
c801bb7f49
2 changed files with 7 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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) &&
|
||||
|
|
Loading…
Reference in a new issue