mirror of
https://github.com/ZDoom/Raze.git
synced 2025-04-07 00:11:22 +00:00
- got rid of int_ploz and int_phiz.
This commit is contained in:
parent
7475a6cfb7
commit
837b31c672
2 changed files with 2 additions and 10 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue