- got rid of int_ploz and int_phiz.

This commit is contained in:
Christoph Oelckers 2022-08-21 15:47:44 +02:00
parent 7475a6cfb7
commit 837b31c672
2 changed files with 2 additions and 10 deletions

View file

@ -3827,10 +3827,10 @@ HORIZONLY:
if (wal->lotag < 44)
{
dofurniture(clip.hitWall, p->cursector, snum);
pushmove(p->pos, &p->cursector, 172L, (4L << 8), (4L << 8), CLIPMASK0);
pushmove(p->pos, &p->cursector, 172, (4 << 8), (4 << 8), CLIPMASK0);
}
else
pushmove(p->pos, &p->cursector, 172L, (4L << 8), (4L << 8), CLIPMASK0);
pushmove(p->pos, &p->cursector, 172, (4 << 8), (4 << 8), CLIPMASK0);
}
}
}

View file

@ -604,14 +604,6 @@ struct PLAYER
{
pos.XY() += { z.X * inttoworld, z.Y * inttoworld };
}
int int_ploz() const
{
return int(loz * zworldtoint);
}
int int_phiz() const
{
return int(hiz * zworldtoint);
}
int player_int_ceiling_dist() const
{
return p_ceiling_dist * 256;