This commit is contained in:
Charles 2001-04-23 20:40:13 +00:00
parent ceb6672c0f
commit 9ad7e14f55
17 changed files with 467 additions and 857 deletions

View file

@ -29,10 +29,13 @@ void CNpcFishHookPlatform::processLifetime( int _frames )
void CNpcFishHookPlatform::processMovement( int _frames )
{
Pos.vy -= m_data[m_type].speed * _frames;
if ( Pos.vy < 0 )
if ( m_isMoving )
{
shutdown();
Pos.vy -= m_data[m_type].speed * _frames;
if ( Pos.vy < 0 )
{
shutdown();
}
}
}