This commit is contained in:
parent
78366ab3e4
commit
318b7986fd
@ -131,6 +131,11 @@ void CNpcDualPlatformBarrelHazard::processMovement( int _frames )
|
||||
|
||||
if ( moveX )
|
||||
{
|
||||
if ( m_soundId == NOT_PLAYING )
|
||||
{
|
||||
m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_ROLLING_ROCK, true );
|
||||
}
|
||||
|
||||
m_rotationDir = abs( moveX ) / moveX;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user