Better handling of exit velocity for movers.
This commit is contained in:
parent
520f2c5683
commit
fff4847744
2 changed files with 2 additions and 2 deletions
|
|
@ -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)";
|
||||
|
|
|
|||
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue