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:
puzl 2005-06-08 02:14:14 +00:00
parent 273582533a
commit 3dd6af1052

View file

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