This commit is contained in:
parent
8628e77c7e
commit
6e70572efe
@ -131,7 +131,7 @@ void CNpcConveyorPlatform::processMovement( int _frames )
|
||||
|
||||
s32 yPos = Pos.vy - offset.vy;
|
||||
|
||||
if ( yPos > VidGetScrH() )
|
||||
if ( yPos < 0 || yPos > VidGetScrH() )
|
||||
{
|
||||
setToShutdown();
|
||||
}
|
||||
|
@ -73,7 +73,7 @@ void CNpcFallingNoRespawnPlatform::processMovement( int _frames )
|
||||
|
||||
s32 yPos = Pos.vy - offset.vy;
|
||||
|
||||
if ( yPos > VidGetScrH() )
|
||||
if ( yPos < 0 || yPos > VidGetScrH() )
|
||||
{
|
||||
setToShutdown();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user