mirror of
https://github.com/unknownworlds/NS.git
synced 2025-02-18 09:51:56 +00:00
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:
parent
81b31b3d6b
commit
94f7ee7481
1 changed files with 3 additions and 1 deletions
|
@ -3677,7 +3677,9 @@ void PM_CategorizePosition (void)
|
||||||
point[2] = pmove->origin[2] - 2;
|
point[2] = pmove->origin[2] - 2;
|
||||||
// puzl: 1027
|
// puzl: 1027
|
||||||
// Correctly detect that we are climbing
|
// 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;
|
pmove->onground = -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue