- SPAC_Walking should check for SPAC_MCross not SPAC_PCross

This commit is contained in:
Rachael Alexanderson 2024-10-01 17:38:29 -04:00
parent 2decf10863
commit ad4eef3b6c
No known key found for this signature in database
GPG key ID: 26A8ACCE97115EE0

View file

@ -254,7 +254,7 @@ bool P_TestActivateLine (line_t *line, AActor *mo, int side, int activationType,
return false;
}
if ((activationType & (SPAC_Cross|SPAC_PCross)) && (lineActivation & SPAC_Walking))
if ((activationType & (SPAC_Cross|SPAC_MCross)) && (lineActivation & SPAC_Walking))
{
// not on floor
if ((mo->Pos().Z > mo->floorz) && !(mo->flags2 & MF2_ONMOBJ))