This commit is contained in:
parent
9b3fe9535e
commit
036806172b
1 changed files with 7 additions and 0 deletions
|
@ -2592,6 +2592,13 @@ int CPlayer::moveVertical(int _moveDistance)
|
|||
// Are we falling?
|
||||
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 i;
|
||||
int move;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue