This commit is contained in:
Charles 2001-07-31 19:09:30 +00:00
parent c20a471032
commit 4f6668e449

View File

@ -155,5 +155,14 @@ void CNpcJellyfishPlatform::think( int _frames )
Pos.vy += m_dipOffset;
s32 minY, maxY;
m_npcPath.getPathYExtents( &minY, &maxY );
if ( Pos.vy > ( maxY + 16 ) )
{
Pos.vy = maxY + 16;
}
CNpcLinearPlatform::think( _frames );
}