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
|
|
@ -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