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

@ -1,2 +1,2 @@
[default]
SWWM_MODVER="\cxSWWM GZ\c- r322 (Sun 7 Jun 22:18:43 CEST 2020)";
SWWM_MODVER="\cxSWWM GZ\c- r323 (Sun 7 Jun 23:22:23 CEST 2020)";

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 )