This commit is contained in:
parent
ceb6672c0f
commit
9ad7e14f55
17 changed files with 467 additions and 857 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue