This commit is contained in:
parent
bd6fd54608
commit
16c576b885
34 changed files with 288 additions and 49 deletions
|
@ -107,7 +107,11 @@ void CNpcSeesawPlatform::processMovement( int _frames )
|
|||
if ( m_currentAngle != newAngle )
|
||||
{
|
||||
m_currentAngle = newAngle;
|
||||
CSoundMediator::playSfx( CSoundMediator::SFX_WORLD_OBJECT__SEESAW );
|
||||
|
||||
if ( m_soundId == NOT_PLAYING )
|
||||
{
|
||||
m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_WORLD_OBJECT__SEESAW, true );
|
||||
}
|
||||
}
|
||||
|
||||
setCollisionAngle( newAngle >> 8 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue