- SW: Fix clipmove call within DoPlayerMoveVehicle().

* Originating from 05ad1e38e9.
* Fixes #829.
This commit is contained in:
Mitchell Richters 2022-12-29 20:32:58 +11:00
parent ca2a427379
commit 9d5bae0c8e

View file

@ -2706,7 +2706,7 @@ void DoPlayerMoveVehicle(PLAYER* pp)
if (pp->sop->clipdist)
{
Collision coll;
clipmove(pp->actor->spr.pos.XY(), pp->actor->getOffsetZ(), &pp->cursector, pp->vect, pp->sop->clipdist, 4., floordist, CLIPMASK_PLAYER, actor->user.coll);
clipmove(pp->actor->spr.pos.XY(), zz, &pp->cursector, pp->vect, pp->sop->clipdist, 4., floordist, CLIPMASK_PLAYER, actor->user.coll);
}
else
{