This commit is contained in:
parent
5b785068c2
commit
fa5105d783
96 changed files with 550 additions and 406 deletions
|
@ -69,7 +69,7 @@ void CNpcBallBlobEnemy::processMovement( int _frames )
|
|||
|
||||
moveY = ( m_velocity.vy >> 8 ) * _frames;
|
||||
|
||||
groundHeight = m_layerCollision->getHeightFromGround( Pos.vx + moveX, Pos.vy + moveY, 16 );
|
||||
groundHeight = CGameScene::getCollision()->getHeightFromGround( Pos.vx + moveX, Pos.vy + moveY, 16 );
|
||||
|
||||
if ( groundHeight < 0 )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue