From da421be9d30d0f89ed9662e6c62511d86ea1ffe2 Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 8 Aug 2001 16:35:43 +0000 Subject: [PATCH] --- source/platform/psbarrel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/platform/psbarrel.cpp b/source/platform/psbarrel.cpp index c941ca0d4..93ae01830 100644 --- a/source/platform/psbarrel.cpp +++ b/source/platform/psbarrel.cpp @@ -117,7 +117,7 @@ void CNpcSteerableBarrelPlatform::processMovement( int _frames ) 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; m_currentSpeed = 0;