mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-25 21:41:55 +00:00
- SW: Fix clipmove call within DoPlayerMoveVehicle()
.
* Originating from 05ad1e38e9
.
* Fixes #829.
This commit is contained in:
parent
d7030961d9
commit
318bba469f
1 changed files with 3 additions and 1 deletions
|
@ -2784,7 +2784,9 @@ void DoPlayerMoveVehicle(PLAYER* pp)
|
|||
if (pp->sop->clipdist)
|
||||
{
|
||||
Collision coll;
|
||||
clipmove(pp->pos, &pp->cursector, pp->vect, pp->sop->clipdist, 4., floordist, CLIPMASK_PLAYER, actor->user.coll);
|
||||
auto temppos = DVector3(pp->pos.XY(), zz);
|
||||
clipmove(temppos, &pp->cursector, pp->vect, pp->sop->clipdist, 4., floordist, CLIPMASK_PLAYER, actor->user.coll);
|
||||
pp->pos.XY() = temppos.XY();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue