Mantis 0001027:

o Players can now walk up ladders without having to face up or jump on to them (and it now doesn't break fast alien movement up ramps)

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@307 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
tankefugl 2005-07-27 23:03:10 +00:00
parent 81b31b3d6b
commit 94f7ee7481

View file

@ -3677,7 +3677,9 @@ void PM_CategorizePosition (void)
point[2] = pmove->origin[2] - 2;
// puzl: 1027
// Correctly detect that we are climbing
if (pmove->velocity[2] > (MAX_CLIMB_SPEED-10) ) // Shooting up really fast. Definitely not on ground.
if (((pmove->velocity[2] > (MAX_CLIMB_SPEED-10)) && (g_onladder[pmove->player_index] > 0))
|| (pmove->velocity[2] > 180))
// Shooting up really fast. Definitely not on ground.
{
pmove->onground = -1;
}