This commit is contained in:
parent
5901bd4aba
commit
864f9af76b
3 changed files with 54 additions and 0 deletions
|
@ -533,6 +533,17 @@ int CPlayer::getHeightFromGround(int _x,int _y,int _maxHeight)
|
|||
return height;
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
Function:
|
||||
Purpose:
|
||||
Params:
|
||||
Returns:
|
||||
---------------------------------------------------------------------- */
|
||||
int CPlayer::getHeightFromGroundNoPlatform(int _x,int _y,int _maxHeight=32)
|
||||
{
|
||||
return( m_layerCollision->getHeightFromGround(_x,_y,_maxHeight) );
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
Function:
|
||||
Purpose:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue