mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-16 09:11:21 +00:00
- SPAC_Walking should check for SPAC_MCross not SPAC_PCross
This commit is contained in:
parent
2decf10863
commit
ad4eef3b6c
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue