mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-31 13:40:45 +00:00
Remove now unused P_MobjReadyToMove().
This commit is contained in:
parent
74bd23c275
commit
01c0797ba6
1 changed files with 0 additions and 13 deletions
|
@ -26,19 +26,6 @@
|
|||
// FLOORS
|
||||
// ==========================================================================
|
||||
|
||||
//
|
||||
// Mini-P_IsObjectOnGroundIn for T_MovePlane hack
|
||||
//
|
||||
static inline boolean P_MobjReadyToMove(mobj_t *mo, sector_t *sec, boolean sectorisffloor, boolean sectorisquicksand)
|
||||
{
|
||||
if (sectorisquicksand)
|
||||
return (mo->z > sec->floorheight && mo->z < sec->ceilingheight);
|
||||
else if (!!(mo->flags & MF_SPAWNCEILING) ^ !!(mo->eflags & MFE_VERTICALFLIP))
|
||||
return ((sectorisffloor) ? (mo->z+mo->height != sec->floorheight) : (mo->z+mo->height != sec->ceilingheight));
|
||||
else
|
||||
return ((sectorisffloor) ? (mo->z != sec->ceilingheight) : (mo->z != sec->floorheight));
|
||||
}
|
||||
|
||||
//
|
||||
// Move a plane (floor or ceiling) and check for crushing
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue