This commit is contained in:
Charles 2001-07-24 19:23:40 +00:00
parent 88bb372ec8
commit d344b5e263
2 changed files with 2 additions and 11 deletions

View file

@ -90,16 +90,9 @@ void CNpcBobbingPlatform::processMovement( int _frames )
moveY = 0; moveY = 0;
} }
/*if ( Pos.vy + moveY < m_initPos.vy ) if ( m_soundId == NOT_PLAYING )
{ {
Pos.vy = m_initPos.vy; m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_SINKING_CRATE, true, true );
m_velocity = 0;
m_state = NPC_BOB_STOP;
moveY = 0;
} }
else
{
Pos.vy += moveY;
}*/
} }
} }

View file

@ -122,7 +122,6 @@ void CNpcBranchPlatform::processMovement( int _frames )
if ( m_angularVelocity > 6 && newAngle < -20 ) if ( m_angularVelocity > 6 && newAngle < -20 )
{ {
player->springPlayerUp(); player->springPlayerUp();
CSoundMediator::playSfx(CSoundMediator::SFX_SPONGEBOB_BUTTBOUNCE);
} }
} }
else else
@ -130,7 +129,6 @@ void CNpcBranchPlatform::processMovement( int _frames )
if ( m_angularVelocity < -6 && newAngle > 20 ) if ( m_angularVelocity < -6 && newAngle > 20 )
{ {
player->springPlayerUp(); player->springPlayerUp();
CSoundMediator::playSfx(CSoundMediator::SFX_SPONGEBOB_BUTTBOUNCE);
} }
} }