Fix stomp "launching".

This commit is contained in:
Mari the Deer 2020-06-19 21:05:28 +02:00
commit eae93b6057
2 changed files with 2 additions and 2 deletions

View file

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