Skip to content

Commit

Permalink
- SPAC_Walking should check for SPAC_MCross not SPAC_PCross
Browse files Browse the repository at this point in the history
  • Loading branch information
madame-rachelle committed Oct 1, 2024
1 parent 2decf10 commit ad4eef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/playsim/p_spec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit ad4eef3

Please sign in to comment.