mirror of
https://github.com/ENSL/NS.git
synced 2024-11-22 12:41:33 +00:00
Mantis: 1027
o Players can now walk up ladders without having to face up or jump on to them Change the threshold for detecting we are on a ladder to suit the NS ladder speed. ( actual value 110 ) git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@167 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
parent
273582533a
commit
3dd6af1052
1 changed files with 3 additions and 2 deletions
|
@ -3662,8 +3662,9 @@ void PM_CategorizePosition (void)
|
|||
point[0] = pmove->origin[0];
|
||||
point[1] = pmove->origin[1];
|
||||
point[2] = pmove->origin[2] - 2;
|
||||
|
||||
if (pmove->velocity[2] > 180) // Shooting up really fast. Definitely not on ground.
|
||||
// puzl: 1027
|
||||
// Correctly detect that we are climbing
|
||||
if (pmove->velocity[2] > (MAX_CLIMB_SPEED-10) ) // Shooting up really fast. Definitely not on ground.
|
||||
{
|
||||
pmove->onground = -1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue