This commit is contained in:
parent
349642025b
commit
e2cd7b13d9
@ -60,6 +60,13 @@ void CNpcFallingBlockPlatform::processMovement( int _frames )
|
|||||||
{
|
{
|
||||||
Pos = m_base;
|
Pos = m_base;
|
||||||
m_isFalling = true;
|
m_isFalling = true;
|
||||||
|
|
||||||
|
if( m_soundId != NOT_PLAYING )
|
||||||
|
{
|
||||||
|
CSoundMediator::stopAndUnlockSfx( (xmPlayingId) m_soundId );
|
||||||
|
}
|
||||||
|
|
||||||
|
m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_ANY_OBJECT_FALLING, true );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user