Update p_map.c

This commit is contained in:
Logan Aerl Arias 2024-02-18 23:16:24 +00:00
parent 7e880d7698
commit 9cf6432be2

View file

@ -1740,7 +1740,7 @@ static unsigned PIT_DoCheckThing(mobj_t *thing)
unsigned collide = CHECKTHING_NOCOLLIDE; unsigned collide = CHECKTHING_NOCOLLIDE;
if ((tmthing->flags & MF_SPRING || tmthing->type == MT_SPIKE || tmthing->type == MT_WALLSPIKE) && (thing->player)) if ((tmthing->flags & MF_SPRING || tmthing->type == MT_SPIKE || tmthing->type == MT_WALLSPIKE) && (thing->player))
; // springs should never be able to step up onto a player ; // springs and spikes should never be able to step up onto a player
// z checking at last // z checking at last
// Treat noclip things as non-solid! // Treat noclip things as non-solid!
else if ((thing->flags & (MF_SOLID|MF_NOCLIP)) == MF_SOLID else if ((thing->flags & (MF_SOLID|MF_NOCLIP)) == MF_SOLID