mirror of
https://github.com/ENSL/NS.git
synced 2024-11-10 07:11:38 +00:00
fixed lerk glide stuck on ramps
This commit is contained in:
parent
7f44ef2c8b
commit
b2d10207c1
1 changed files with 1 additions and 1 deletions
|
@ -6782,7 +6782,7 @@ void PM_PlayerMove ( qboolean server )
|
|||
}
|
||||
|
||||
// If we are on ground, no downward velocity.
|
||||
if((pmove->onground != -1 && gIsJetpacking[pmove->player_index] == 0) && !GetHasUpgrade(pmove->iuser4, MASK_WALLSTICKING))
|
||||
if ((pmove->onground != -1 && gIsJetpacking[pmove->player_index] == 0 && (!isglidinglerk || !newlerk)) && !GetHasUpgrade(pmove->iuser4, MASK_WALLSTICKING))
|
||||
{
|
||||
pmove->velocity[2] = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue