This commit is contained in:
parent
8628e77c7e
commit
6e70572efe
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue