This commit is contained in:
parent
8b28dcc764
commit
c0595dc15b
4 changed files with 13 additions and 5 deletions
|
@ -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 ) )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue