This commit is contained in:
Charles 2001-07-31 16:03:19 +00:00
parent 9b3fe9535e
commit 036806172b

View file

@ -2592,6 +2592,13 @@ int CPlayer::moveVertical(int _moveDistance)
// Are we falling? // Are we falling?
if(_moveDistance>0) if(_moveDistance>0)
{ {
if ( isOnPlatform() )
{
// must also detect that we have landed on platform
return( true );
}
int colHeightBefore[2],colHeightAfter[2],blockAfter[2],moveRequired[2]; int colHeightBefore[2],colHeightAfter[2],blockAfter[2],moveRequired[2];
int i; int i;
int move; int move;