This commit is contained in:
Charles 2001-05-30 19:20:38 +00:00
parent 8628e77c7e
commit 6e70572efe
2 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ void CNpcConveyorPlatform::processMovement( int _frames )
s32 yPos = Pos.vy - offset.vy;
if ( yPos > VidGetScrH() )
if ( yPos < 0 || yPos > VidGetScrH() )
{
setToShutdown();
}

View File

@ -73,7 +73,7 @@ void CNpcFallingNoRespawnPlatform::processMovement( int _frames )
s32 yPos = Pos.vy - offset.vy;
if ( yPos > VidGetScrH() )
if ( yPos < 0 || yPos > VidGetScrH() )
{
setToShutdown();
}