This commit is contained in:
parent
948f32ea2e
commit
e399f8ad11
8 changed files with 52 additions and 4 deletions
|
@ -122,6 +122,7 @@ void CNpcBranchPlatform::processMovement( int _frames )
|
|||
if ( m_angularVelocity > 6 && newAngle < -20 )
|
||||
{
|
||||
player->springPlayerUp();
|
||||
CSoundMediator::playSfx(CSoundMediator::SFX_SPONGEBOB_BUTTBOUNCE);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -129,6 +130,7 @@ void CNpcBranchPlatform::processMovement( int _frames )
|
|||
if ( m_angularVelocity < -6 && newAngle > 20 )
|
||||
{
|
||||
player->springPlayerUp();
|
||||
CSoundMediator::playSfx(CSoundMediator::SFX_SPONGEBOB_BUTTBOUNCE);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue