This commit is contained in:
Charles 2001-03-30 22:43:35 +00:00
parent 5bcc1f3ef9
commit 28e212b5c2
8 changed files with 78 additions and 7 deletions

View file

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