diff --git a/source/games/duke/src/player_r.cpp b/source/games/duke/src/player_r.cpp index e4d580093..053856721 100644 --- a/source/games/duke/src/player_r.cpp +++ b/source/games/duke/src/player_r.cpp @@ -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); } } } diff --git a/source/games/sw/src/game.h b/source/games/sw/src/game.h index 12277cab7..dbc2ee588 100644 --- a/source/games/sw/src/game.h +++ b/source/games/sw/src/game.h @@ -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;