From c801bb7f49c752839e6e448f02fd36e3a9c6375c Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sun, 27 Sep 2009 02:13:28 +0000 Subject: [PATCH] - 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) --- docs/rh-log.txt | 3 +++ src/p_spec.cpp | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/rh-log.txt b/docs/rh-log.txt index d44d88588..1483d0b83 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -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. diff --git a/src/p_spec.cpp b/src/p_spec.cpp index 8f092fc9d..82d91489d 100644 --- a/src/p_spec.cpp +++ b/src/p_spec.cpp @@ -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) &&