This commit is contained in:
parent
5bcc1f3ef9
commit
28e212b5c2
8 changed files with 78 additions and 7 deletions
|
@ -319,6 +319,11 @@ void CPlayerModeBase::thinkVerticalMovement()
|
|||
setState(STATE_FALL);
|
||||
}
|
||||
*/
|
||||
if ( m_player->isOnPlatform() && m_moveVelocity.vy >= 0 )
|
||||
{
|
||||
pos.vy += colHeight;
|
||||
m_moveVelocity.vy=0;
|
||||
}
|
||||
}
|
||||
|
||||
pos.vy+=m_moveVelocity.vy>>VELOCITY_SHIFT;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue