This commit is contained in:
parent
61308f18f6
commit
1ed6b3c05f
19 changed files with 60 additions and 13 deletions
|
@ -104,7 +104,11 @@ void CNpcSeesawPlatform::processMovement( int _frames )
|
|||
m_angularVelocity = 0;
|
||||
}
|
||||
|
||||
m_currentAngle = newAngle;
|
||||
if ( m_currentAngle != newAngle )
|
||||
{
|
||||
m_currentAngle = newAngle;
|
||||
CSoundMediator::playSfx( CSoundMediator::SFX_WORLD_OBJECT__SEESAW );
|
||||
}
|
||||
|
||||
setCollisionAngle( newAngle >> 8 );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue