This commit is contained in:
Charles 2001-07-12 16:53:21 +00:00
parent 8b28dcc764
commit c0595dc15b
4 changed files with 13 additions and 5 deletions

View file

@ -115,6 +115,11 @@ void CNpcBouncingRockHazard::processMovement( int _frames )
// deal with horizontal
if ( m_soundId == NOT_PLAYING )
{
m_soundId = (int) CSoundMediator::playSfx( CSoundMediator::SFX_ROLLING_ROCK, true );
}
bool pathComplete;
if ( m_npcPath.thinkFlat( Pos, &pathComplete, &waypointXDist, &waypointYDist, &waypointHeading, 1 ) )