This commit is contained in:
parent
929a93165a
commit
da421be9d3
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ void CNpcSteerableBarrelPlatform::processMovement( int _frames )
|
||||||
remainder = 0;
|
remainder = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( CGameScene::getCollision()->getHeightFromGround( Pos.vx + testX, Pos.vy ) < -maxHeight )
|
if ( CGameScene::getCollision()->getHeightFromGround( Pos.vx + testX + ( sign * 32 ), Pos.vy ) < -maxHeight )
|
||||||
{
|
{
|
||||||
moveX = 0;
|
moveX = 0;
|
||||||
m_currentSpeed = 0;
|
m_currentSpeed = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue