Better handling of exit velocity for movers.

This commit is contained in:
Mari the Deer 2020-06-07 23:22:23 +02:00
commit fff4847744
2 changed files with 2 additions and 2 deletions

View file

@ -530,7 +530,7 @@ Class Demolitionist : PlayerPawn
else
{
// launch in movement direction (useful for moving platforms)
if ( oldencroached ) vel += oldencroached.vel;
if ( oldencroached ) vel += oldencroached.vel+level.Vec3Diff(oldencroachedpos,oldencroached.pos);
oldencroached = null;
}
if ( encroached && encroached.bSHOOTABLE && (lastvelz <= 0) && !encroached.player )